Skip to content

Commit

Permalink
fix scala 3 compile issue (#684)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning authored Sep 26, 2023
1 parent 201992d commit ac14251
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ class MapAsyncPartitionedSpec
}

it should "fail to create an operator if parallelism is less than 1" in {
forAll(Gen.negNum[Int]) { zeroOrNegativeParallelism: Int =>
forAll(Gen.negNum[Int]) { (zeroOrNegativeParallelism: Int) =>
an[IllegalArgumentException] shouldBe thrownBy {
Source(infiniteStream())
.mapAsyncPartitionedUnordered(
Expand Down Expand Up @@ -392,7 +392,7 @@ class MapAsyncPartitionedSpec
}

it should "fail to create an operator if parallelism is less than 1" in {
forAll(Gen.negNum[Int]) { zeroOrNegativeParallelism: Int =>
forAll(Gen.negNum[Int]) { (zeroOrNegativeParallelism: Int) =>
an[IllegalArgumentException] shouldBe thrownBy {
Source(infiniteStream())
.mapAsyncPartitioned(
Expand Down

0 comments on commit ac14251

Please sign in to comment.