Skip to content

Commit

Permalink
Indicate that a subset of these rules have breaking behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
werli committed Nov 1, 2024
1 parent 8f803e0 commit 374db08
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1772,6 +1772,9 @@ StepVerifier.FirstStep<? extends T> after(Flux<T> flux) {
* Prefer {@link StepVerifier.LastStep#verify()} over a dangling {@link
* StepVerifier#verifyThenAssertThat()}.
*/
// XXX: This rule may break existing code. We want to explicitly nudge towards using {@link
// StepVerifier.Step#assertNext(Consumer)} or {@link StepVerifier.Step#expectNext(Object)}
// together with {@link Step#verifyComplete()}.
static final class StepVerifierVerify {
@BeforeTemplate
StepVerifier.Assertions before(StepVerifier stepVerifier) {
Expand Down

0 comments on commit 374db08

Please sign in to comment.