Skip to content

Commit

Permalink
Suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan202 committed Oct 7, 2023
1 parent 4005fcd commit 16fda27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ ImmutableSet<Duration> testStepVerifierLastStepVerifyErrorClass() {
StepVerifier.create(Mono.empty())
.verifyErrorMatches(IllegalStateException.class::isInstance),
StepVerifier.create(Mono.empty())
.verifyErrorSatisfies(t -> assertThat(t).isInstanceOf(IllegalStateException.class)));
.verifyErrorSatisfies(t -> assertThat(t).isInstanceOf(AssertionError.class)));
}

Duration testStepVerifierLastStepVerifyErrorMatches() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ ImmutableSet<Duration> testStepVerifierLastStepVerifyErrorClass() {
return ImmutableSet.of(
StepVerifier.create(Mono.empty()).verifyError(IllegalArgumentException.class),
StepVerifier.create(Mono.empty()).verifyError(IllegalStateException.class),
StepVerifier.create(Mono.empty()).verifyError(IllegalStateException.class));
StepVerifier.create(Mono.empty()).verifyError(AssertionError.class));
}

Duration testStepVerifierLastStepVerifyErrorMatches() {
Expand Down

0 comments on commit 16fda27

Please sign in to comment.