summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-pack/test
AgeCommit message (Collapse)Author
2018-05-10Fix test of mruby-pack with big-endian CPUsNobuhiro Iwamatsu
When running the mruby-pack test with big endian, test data is incorrect, so it will fail with "i" and "I". ------ Fail: pack/unpack "i" (mrbgems: mruby-pack) - Assertion[1] Failed: Expected to be equal Expected: "\xff\xff\xc7\xcf" Actual: "\xff\xff\xcf\xc7" - Assertion[2] Failed: Expected to be equal Expected: [-12345] Actual: [-14385] Fail: pack/unpack "I" (mrbgems: mruby-pack) - Assertion[1] Failed: Expected to be equal Expected: "\x00\x0090" Actual: "\x00\x0009" - Assertion[2] Failed: Expected to be equal Expected: [12345] Actual: [14640] ------ This will fix the test data at big-endian. Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2017-12-07Add 'mrbgems/mruby-pack/' from commit '383a9c79e191d524a9a2b4107cc5043ecbf6190b'Yukihiro "Matz" Matsumoto
git-subtree-dir: mrbgems/mruby-pack git-subtree-mainline: 842e6945f2d0a519d7cf0525016830246cd337ab git-subtree-split: 383a9c79e191d524a9a2b4107cc5043ecbf6190b