diff options
| author | frsyuki <frsyuki@users.sourceforge.jp> | 2010-06-29 15:12:52 +0900 |
|---|---|---|
| committer | frsyuki <frsyuki@users.sourceforge.jp> | 2010-06-29 15:12:52 +0900 |
| commit | 123ae024c6d5c217f18a9444c61b292145227278 (patch) | |
| tree | cab22c379a38ca39ec060e24cb7f51d0767bb702 /ruby/test | |
| parent | 34a29cd0a50eea4a0e008fe3947c86179d536540 (diff) | |
| download | msgpack-python-123ae024c6d5c217f18a9444c61b292145227278.tar.gz | |
ruby: MessagePack::VERSION constant
Diffstat (limited to 'ruby/test')
| -rw-r--r-- | ruby/test/test_helper.rb | 2 | ||||
| -rw-r--r-- | ruby/test/test_pack_unpack.rb | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ruby/test/test_helper.rb b/ruby/test/test_helper.rb index bf9fee8..80d7806 100644 --- a/ruby/test/test_helper.rb +++ b/ruby/test/test_helper.rb @@ -5,4 +5,4 @@ rescue LoadError require File.dirname(__FILE__) + '/../lib/msgpack' end -GC.stress = true +#GC.stress = true diff --git a/ruby/test/test_pack_unpack.rb b/ruby/test/test_pack_unpack.rb index 9dff44f..25bde81 100644 --- a/ruby/test/test_pack_unpack.rb +++ b/ruby/test/test_pack_unpack.rb @@ -276,6 +276,10 @@ class MessagePackTestPackUnpack < Test::Unit::TestCase assert_equal(parsed, num) end + it "MessagePack::VERSION constant" do + p MessagePack::VERSION + end + private def check(len, obj) v = obj.to_msgpack |
