From 4046585a206a8002d6dab192f00b4c03786a3d0e Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 2 Apr 2013 06:28:10 +0000 Subject: use long_ary to suppress warning git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/objspace/test_objspace.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/objspace/test_objspace.rb') diff --git a/test/objspace/test_objspace.rb b/test/objspace/test_objspace.rb index 2f8503fcee..8a8d7ce8ea 100644 --- a/test/objspace/test_objspace.rb +++ b/test/objspace/test_objspace.rb @@ -93,7 +93,7 @@ class TestObjSpace < Test::Unit::TestCase } end } - assert_operator(max, :>=, 1_001, "1000 elems + Array class") + assert_operator(max, :>=, long_ary.size+1, "1000 elems + Array class") eom end -- cgit v1.2.3