Rename expectErrorWith() to expectErrorMatch()

This commit is contained in:
Sebastien Deleuze 2016-11-04 16:14:09 +01:00
parent 671c4e9650
commit b338e6d7aa
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ public class ViewResolutionResultHandlerTests {
StepVerifier.create(mono)
.expectNextCount(0)
.expectErrorWith(err -> err.getMessage().equals("Could not resolve view with name 'account'."))
.expectErrorMatch(err -> err.getMessage().equals("Could not resolve view with name 'account'."))
.verify();
}