summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-01 06:02:45 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-01 06:02:45 +0000
commitcd322ae533500219453a23f9cc15865760baa8ea (patch)
tree964f12b898d5fa20bf72bf8d33a19ce1815ecdb7
parentec85609f2329d4ce5062dd56746bdcddbeed4daf (diff)
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
-rw-r--r--test/objspace/test_objspace.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/objspace/test_objspace.rb b/test/objspace/test_objspace.rb
index 6ad3be2..3870414 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