Merge branch '2.1.x'
Closes gh-17335 Closes gh-17292
This commit is contained in:
@@ -32,12 +32,12 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
class AnsiOutputTests {
|
||||
|
||||
@BeforeAll
|
||||
public static void enable() {
|
||||
static void enable() {
|
||||
AnsiOutput.setEnabled(Enabled.ALWAYS);
|
||||
}
|
||||
|
||||
@AfterAll
|
||||
public static void reset() {
|
||||
static void reset() {
|
||||
AnsiOutput.setEnabled(Enabled.DETECT);
|
||||
}
|
||||
|
||||
|
||||
@@ -42,12 +42,12 @@ class ColorConverterTests {
|
||||
private final String in = "in";
|
||||
|
||||
@BeforeAll
|
||||
public static void setupAnsi() {
|
||||
static void setupAnsi() {
|
||||
AnsiOutput.setEnabled(AnsiOutput.Enabled.ALWAYS);
|
||||
}
|
||||
|
||||
@AfterAll
|
||||
public static void resetAnsi() {
|
||||
static void resetAnsi() {
|
||||
AnsiOutput.setEnabled(AnsiOutput.Enabled.DETECT);
|
||||
}
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ class RootUriTemplateHandlerTests {
|
||||
|
||||
@BeforeEach
|
||||
@SuppressWarnings("unchecked")
|
||||
public void setup() throws URISyntaxException {
|
||||
void setup() throws URISyntaxException {
|
||||
MockitoAnnotations.initMocks(this);
|
||||
this.uri = new URI("https://example.com/hello");
|
||||
this.handler = new RootUriTemplateHandler("https://example.com", this.delegate);
|
||||
|
||||
Reference in New Issue
Block a user