From 123ae024c6d5c217f18a9444c61b292145227278 Mon Sep 17 00:00:00 2001 From: frsyuki Date: Tue, 29 Jun 2010 15:12:52 +0900 Subject: ruby: MessagePack::VERSION constant --- ruby/test/test_helper.rb | 2 +- ruby/test/test_pack_unpack.rb | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'ruby/test') 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 -- cgit v1.2.1