From bccc7a62f461d62f4fa98ea4f68f1e24da548b16 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Tue, 30 Jul 2019 09:07:58 +0900 Subject: [PATCH] Remove duplicate assertion in matchWithNullPath() See gh-23382 --- .../test/java/org/springframework/util/AntPathMatcherTests.java | 1 - 1 file changed, 1 deletion(-) 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(); }