Skip to content

Commit 4cba605

Browse files
committed
Fix test case that checks nil value
1 parent 5289289 commit 4cba605

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

msgpack-core/src/test/scala/org/msgpack/core/MessagePackTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ class MessagePackTest extends MessagePackSpec {
174174
forAll { (v: Float) => check(v, _.packFloat(v), _.unpackFloat)}
175175
forAll { (v: Long) => check(v, _.packLong(v), _.unpackLong)}
176176
forAll { (v: Double) => check(v, _.packDouble(v), _.unpackDouble)}
177-
check(null, _.packNil, _.unpackNil())
177+
check(null, _.packNil, {unpacker => unpacker.unpackNil(); null})
178178
}
179179

180180
"pack/unpack integer values" taggedAs("int") in {

0 commit comments

Comments
 (0)