We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 919ab70 commit 6b9d5d3Copy full SHA for 6b9d5d3
1 file changed
msgpack-core/src/test/scala/org/msgpack/value/ValueTest.scala
@@ -120,10 +120,10 @@ class ValueTest extends MessagePackSpec
120
newInteger(Short.MIN_VALUE-1).asShort()
121
}
122
intercept[MessageIntegerOverflowException] {
123
- newInteger(Integer.MAX_VALUE+1).asInt()
+ newInteger(Integer.MAX_VALUE+1.toLong).asInt()
124
125
126
- newInteger(Integer.MIN_VALUE-1).asInt()
+ newInteger(Integer.MIN_VALUE-1.toLong).asInt()
127
128
129
0 commit comments