summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-02 06:28:10 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-02 06:28:10 +0000
commit4046585a206a8002d6dab192f00b4c03786a3d0e (patch)
tree516416067f862869e2dc0aff86d370879ac002fe
parent7a77e124882f925fe8c7e51a28bac7f15e8ad868 (diff)
use long_ary to suppress warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--test/objspace/test_objspace.rb2
1 files changed, 1 insertions, 1 deletions
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