mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 04:09:04 +00:00
Rename expectErrorMatch() to expectErrorMatches()
This commit is contained in:
+1
-1
@@ -212,7 +212,7 @@ public class ViewResolutionResultHandlerTests {
|
||||
|
||||
StepVerifier.create(mono)
|
||||
.expectNextCount(0)
|
||||
.expectErrorMatch(err -> err.getMessage().equals("Could not resolve view with name 'account'."))
|
||||
.expectErrorMatches(err -> err.getMessage().equals("Could not resolve view with name 'account'."))
|
||||
.verify();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user