Skip to content

Commit

Permalink
fix a type was inferred to be AnyVal``
Browse files Browse the repository at this point in the history
  • Loading branch information
halotukozak committed Oct 2, 2024
1 parent d3f4b3b commit be33e33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class QmarkTest extends AnyFunSuite {
def expression = ju.Arrays.asList[Int]().mean

assertThrows[IllegalArgumentException](ju.Arrays.asList[Int]().mean)
assert(0 == expression ? 0)
assert(0.0 == expression ? 0.0)
}

test("recover from ParseException") {
Expand Down

0 comments on commit be33e33

Please sign in to comment.