Adapt tests changed in 5.1.x to master
This commit is contained in:
@@ -95,7 +95,7 @@ public class PathResourceResolverTests {
|
||||
public void ignoreInvalidEscapeSequence() throws IOException {
|
||||
UrlResource location = new UrlResource(getClass().getResource("./test/"));
|
||||
Resource resource = location.createRelative("test%file.txt");
|
||||
assertTrue(this.resolver.checkResource(resource, location));
|
||||
assertThat(this.resolver.checkResource(resource, location)).isTrue();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user