Skip to content

Commit

Permalink
Different order
Browse files Browse the repository at this point in the history
  • Loading branch information
rickie committed Nov 19, 2022
1 parent c72898d commit 600963f
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 @@ -559,7 +559,7 @@ Flux<S> after(Flux<T> flux) {
static final class MonoFlux<T> {
@BeforeTemplate
Flux<T> before(Mono<T> mono) {
return Refaster.anyOf(Flux.concat(mono), mono.flatMapMany(Flux::just));
return Refaster.anyOf(mono.flatMapMany(Flux::just), Flux.concat(mono));
}

@AfterTemplate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ ImmutableSet<Flux<Integer>> testFluxMapNotNull() {
}

ImmutableSet<Flux<String>> testMonoFlux() {
return ImmutableSet.of(Flux.concat(Mono.just("foo")), Mono.just("bar").flatMapMany(Flux::just));
return ImmutableSet.of(Mono.just("foo").flatMapMany(Flux::just), Flux.concat(Mono.just("bar")));
}

ImmutableSet<Mono<Optional<String>>> testMonoCollectToOptional() {
Expand Down

0 comments on commit 600963f

Please sign in to comment.