Skip to content

Commit

Permalink
Fix tests on Scala 3
Browse files Browse the repository at this point in the history
Scala 3 lacks bit literals
  • Loading branch information
jarmuszz committed Jul 11, 2024
1 parent ddcc193 commit 955ec6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msgpack/src/test/scala/fs2/data/msgpack/ParserSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ object ParserSpec extends SimpleIOSuite {
pureTest("Timestamp64 nanoseconds field should always be positive") {
val nums = List(
0xffffffffffffffffL,
0b1000000000000000000000000000000000000000000000000000000000000000L
0x8000000000000000L
)
forEach(nums)(x => expect(MsgpackItem.Timestamp64(x).nanoseconds > 0))
}
Expand Down

0 comments on commit 955ec6c

Please sign in to comment.