diff --git a/spring-core/src/test/java/org/springframework/util/AntPathMatcherTests.java b/spring-core/src/test/java/org/springframework/util/AntPathMatcherTests.java index c3fff425bb5..669b4a96f0a 100644 --- a/spring-core/src/test/java/org/springframework/util/AntPathMatcherTests.java +++ b/spring-core/src/test/java/org/springframework/util/AntPathMatcherTests.java @@ -136,7 +136,6 @@ public class AntPathMatcherTests { public void matchWithNullPath() { assertThat(pathMatcher.match("/test", null)).isFalse(); assertThat(pathMatcher.match("/", null)).isFalse(); - assertThat(pathMatcher.match("/", null)).isFalse(); assertThat(pathMatcher.match(null, null)).isFalse(); }