Skip to content
This repository was archived by the owner on Mar 2, 2022. It is now read-only.

Commit d7161b3

Browse files
committed
Fixing compile issue
Signed-off-by: Winarto Zhao <[email protected]>
1 parent 4042532 commit d7161b3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/scala/reactor/core/scala/publisher/SParallelFluxTest.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class SParallelFluxTest extends FreeSpec with Matchers {
2020
}
2121

2222
".filter should filter elements" in {
23-
StepVerifier.create(fluxParallel.filter(i => i % 2 == 0))
23+
StepVerifier.create(fluxParallel.filter((i:Int) => i % 2 == 0))
2424
.expectNext(2)
2525
.verifyComplete()
2626
}
@@ -37,9 +37,9 @@ class SParallelFluxTest extends FreeSpec with Matchers {
3737
".runOn should run on different thread" in {
3838
val scheduler = spy(Schedulers.parallel())
3939
StepVerifier.create(flux.parallel(2).runOn(scheduler))
40-
.expectNextMatches(i => data.contains(i))
41-
.expectNextMatches(i => data.contains(i))
42-
.expectNextMatches(i => data.contains(i))
40+
.expectNextMatches((i: Int) => data.contains(i))
41+
.expectNextMatches((i: Int) => data.contains(i))
42+
.expectNextMatches((i: Int) => data.contains(i))
4343
.verifyComplete()
4444

4545
verify(scheduler, times(2)).createWorker()

0 commit comments

Comments
 (0)