wrong sample binary : 145 indicates fixarray

This commit is contained in:
UENISHI Kota 2013-02-02 21:01:28 +09:00
parent a6b13aa9bd
commit 887d59ddea

View File

@ -80,7 +80,8 @@ issue_5_test() ->
}
]},
?assertEqual({Term, <<>>}, msgpack:unpack(msgpack:pack(Term))),
Bin = <<130,164,116,121,112,101,167,119,111,114,107,101,
114,115,164,100,97,116,97,145,145,130,168,119,111,114,
Bin0 = <<130,164,116,121,112,101,167,119,111,114,107,101,
114,115,164,100,97,116,97,145,130,168,119,111,114,
107,101,114,105,100,165,115,116,100,46,49,165,115,108,111,116,115,144>>,
?assertEqual(Bin, msgpack:pack(Term)).
?assertEqual(Bin0, msgpack:pack(Term)).