Permalink
Browse files

added missing force_encoding

  • Loading branch information...
nougad committed Jan 28, 2012
1 parent c3a37f1 commit 87910bcba60f0c2755f0b86753b5845890798faf
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/streamread_spec.rb
@@ -27,7 +27,7 @@
@ss << "/bar/foo\000\000\000\000,iiii\000\000\000\000\000\000\004\000\000\000\003\000\000".force_encoding("binary")
@ss << "\000\002\000\000\000\001/bar/foo\000\000\000\000,iiii\000\000\000\000\000\000\004".force_encoding("binary")
@ss.tryparse.should == Message.new('/bar/foo', 4, 3, 2, 1)
@ss << "\000\000\000\003\000\000\000\002\000\000\000\001"
@ss << "\000\000\000\003\000\000\000\002\000\000\000\001".force_encoding("binary")
@ss.tryparse.should == Message.new('/bar/foo', 4, 3, 2, 1)
end

0 comments on commit 87910bc

Please sign in to comment.