mirror of
https://github.com/valitydev/msgpack-erlang.git
synced 2024-11-06 08:45:19 +00:00
wrong sample binary : 145 indicates fixarray
This commit is contained in:
parent
a6b13aa9bd
commit
887d59ddea
@ -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)).
|
||||
|
Loading…
Reference in New Issue
Block a user