diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-19 07:45:58 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-19 07:45:58 +0000 |
commit | 311b7154839b91c87ee40908ac6d3f5c330d7b11 (patch) | |
tree | 5a751c1b132d593c10fc74b657471364136a35f1 /test/ruby/test_variable.rb | |
parent | 6286ff6301f94a475702d905cb722d3a4c7c4535 (diff) |
test: use assert_not_*
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_variable.rb')
-rw-r--r-- | test/ruby/test_variable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_variable.rb b/test/ruby/test_variable.rb index 3fba8d1884..7432cbb6a2 100644 --- a/test/ruby/test_variable.rb +++ b/test/ruby/test_variable.rb @@ -144,7 +144,7 @@ class TestVariable < Test::Unit::TestCase end assert_nil v.instance_variable_get(:@foo) - refute v.instance_variable_defined?(:@foo) + assert_not_send([v, :instance_variable_defined?, :@foo]) assert_raise_with_message(RuntimeError, msg) do v.remove_instance_variable(:@foo) |