Fails to store big integers #20

AlexeyKupershtokh opened this Issue Oct 13, 2011 · 1 comment


None yet

2 participants


I've added a new test to test.js


wicked@wicked-desktop:~/Alawar/h-n/node_modules/msgpack-0.4/test$ node test.js
throw e; // process.nextTick error, or 'error' event on first tick
AssertionError: 123456782345245 deepEqual 2242389021
at /home/wicked/Alawar/h-n/node_modules/msgpack-0.4/test/test.js:7:12
at Object. (/home/wicked/Alawar/h-n/node_modules/msgpack-0.4/test/test.js:24:1)
at Module._compile (module.js:407:26)
at Object..js (module.js:413:10)
at Module.load (module.js:339:31)
at Function._load (module.js:298:12)
at Array. (module.js:426:10)
at EventEmitter._tickCallback (node.js:126:26)

I expected it to pass and restore the same integer 123456782345245 from the message.


This works on the most recent version, and I will make sure the test makes it into master.

@godsflaw godsflaw closed this Jun 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment