summaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
authorgfx <gfuji@cpan.org>2010-09-16 21:37:49 +0900
committergfx <gfuji@cpan.org>2010-09-16 21:38:17 +0900
commit562de7926b87a027842e624fe385468145d09ed9 (patch)
treef9b442a4a9e85bf25a7da84f35f02390a7fe694e /ruby
parent8eaed95e027bcf66b61611871bc12e0cb110d859 (diff)
downloadmsgpack-python-562de7926b87a027842e624fe385468145d09ed9.tar.gz
More tests; some fails now :(
Diffstat (limited to 'ruby')
-rw-r--r--ruby/test/test_pack_unpack.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby/test/test_pack_unpack.rb b/ruby/test/test_pack_unpack.rb
index 545e593..f378c3c 100644
--- a/ruby/test/test_pack_unpack.rb
+++ b/ruby/test/test_pack_unpack.rb
@@ -239,7 +239,7 @@ class MessagePackTestPackUnpack < Test::Unit::TestCase
end
it "gc mark" do
- obj = [{["a","b"]=>["c","d"]}, ["e","f"], "d"]
+ obj = [1024, {["a","b"]=>["c","d"]}, ["e","f"], "d", 70000, 4.12, 1.5, 1.5, 1.5]
num = 4
raw = obj.to_msgpack * num
pac = MessagePack::Unpacker.new
@@ -257,7 +257,7 @@ class MessagePackTestPackUnpack < Test::Unit::TestCase
end
it "streaming backward compatibility" do
- obj = [{["a","b"]=>["c","d"]}, ["e","f"], "d"]
+ obj = [1024, {["a","b"]=>["c","d"]}, ["e","f"], "d", 70000, 4.12, 1.5, 1.5, 1.5]
num = 4
raw = obj.to_msgpack * num
pac = MessagePack::Unpacker.new