Skip to content

Commit b447d7d

Browse files
committed
Rename expectErrorMatch() to expectErrorMatches()
1 parent b338e6d commit b447d7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-web-reactive/src/test/java/org/springframework/web/reactive/result/view/ViewResolutionResultHandlerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ public void unresolvedViewName() throws Exception {
212212

213213
StepVerifier.create(mono)
214214
.expectNextCount(0)
215-
.expectErrorMatch(err -> err.getMessage().equals("Could not resolve view with name 'account'."))
215+
.expectErrorMatches(err -> err.getMessage().equals("Could not resolve view with name 'account'."))
216216
.verify();
217217
}
218218

0 commit comments

Comments
 (0)