test/decode_spec.rb in mojombo-erlectricity-1.0.0 vs test/decode_spec.rb in mojombo-erlectricity-1.0.1
- old
+ new
@@ -105,9 +105,10 @@
end
specify "an erlang binary should decode to a string" do
get("<< 3,4,255 >>").should == "\003\004\377"
get("<< \"whatup\" >>").should == "whatup"
+ get("<< 99,0,99 >>").should == "c\000c"
end
specify "erlang atomic booleans should decode to ruby booleans" do
get("true").should == true
get("false").should == false
\ No newline at end of file