diff --git a/hamcrest/src/test/java/org/hamcrest/core/AllOfTest.java b/hamcrest/src/test/java/org/hamcrest/core/AllOfTest.java index fb531645..892a94ef 100644 --- a/hamcrest/src/test/java/org/hamcrest/core/AllOfTest.java +++ b/hamcrest/src/test/java/org/hamcrest/core/AllOfTest.java @@ -64,7 +64,7 @@ public final class AllOfTest { } @Test public void - varargs(){ + varargs() { assertThat("the text!", new AllOf<>(startsWith("the"), containsString("text"), endsWith("!"))); } diff --git a/hamcrest/src/test/java/org/hamcrest/core/AnyOfTest.java b/hamcrest/src/test/java/org/hamcrest/core/AnyOfTest.java index 73c24ca1..2cf7c2a8 100644 --- a/hamcrest/src/test/java/org/hamcrest/core/AnyOfTest.java +++ b/hamcrest/src/test/java/org/hamcrest/core/AnyOfTest.java @@ -56,7 +56,7 @@ public final class AnyOfTest { } @Test public void - varargs(){ + varargs() { assertThat("the text!", new AnyOf<>(startsWith("the"), endsWith("."))); }