aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Ronge <andreas.ronge@gmail.com>2016-09-01 22:33:19 +0200
committerAndreas Ronge <andreas.ronge@gmail.com>2016-09-01 22:33:19 +0200
commit7b52181d85d5030754816b21386048d8babc1930 (patch)
tree52dc2c5c97da30ea75c0b560c42eab48e626a910
parentcbdc163781ae9a711a7d7328966bb7bd985d73fe (diff)
downloadboltex-7b52181d85d5030754816b21386048d8babc1930.tar.gz
boltex-7b52181d85d5030754816b21386048d8babc1930.tar.xz
Bug fix of unit test for PackStream INT16
-rw-r--r--test/boltex/pack_stream_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/boltex/pack_stream_test.exs b/test/boltex/pack_stream_test.exs
index 1689aa5..86476ef 100644
--- a/test/boltex/pack_stream_test.exs
+++ b/test/boltex/pack_stream_test.exs
@@ -26,7 +26,7 @@ defmodule Boltex.PackStreamTest do
assert PackStream.encode(0) == << 0x00 >>
assert PackStream.encode(42) == << 0x2A >>
assert PackStream.encode(-42) == << 0xC8, 0xD6 >>
- assert PackStream.encode(420) == << 0xC9, 0xA4 >>
+ assert PackStream.encode(420) == << 0xC9, 0x01, 0xA4 >>
end
test "encodes string" do