From cd322ae533500219453a23f9cc15865760baa8ea Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 1 Apr 2015 06:02:45 +0000 Subject: test_objspace.rb: skip test_count_nodes * test/objspace/test_objspace.rb (test_count_nodes): NODEs are no longer used generally. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/objspace/test_objspace.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/objspace/test_objspace.rb') diff --git a/test/objspace/test_objspace.rb b/test/objspace/test_objspace.rb index 6ad3be2945..3870414d42 100644 --- a/test/objspace/test_objspace.rb +++ b/test/objspace/test_objspace.rb @@ -46,9 +46,9 @@ class TestObjSpace < Test::Unit::TestCase def test_memsize_of_all assert_kind_of(Integer, a = ObjectSpace.memsize_of_all) assert_kind_of(Integer, b = ObjectSpace.memsize_of_all(String)) - assert(a > b) - assert(a > 0) - assert(b > 0) + assert_operator(a, :>, b) + assert_operator(a, :>, 0) + assert_operator(b, :>, 0) assert_raise(TypeError) {ObjectSpace.memsize_of_all('error')} end @@ -69,7 +69,7 @@ class TestObjSpace < Test::Unit::TestCase assert_not_empty(arg) bug8014 = '[ruby-core:53130] [Bug #8014]' assert_empty(arg.select {|k, v| !(Symbol === k && Integer === v)}, bug8014) - end + end if false def test_count_tdata_objects res = ObjectSpace.count_tdata_objects -- cgit v1.2.3