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 | 4e316341843fe57dddf267fee753ee430ff39508 (patch) | |
tree | 5a751c1b132d593c10fc74b657471364136a35f1 /test/ruby/test_variable.rb | |
parent | c0051abc933eef3d10c553e13f4eb71f2ae8e416 (diff) | |
download | ruby-4e316341843fe57dddf267fee753ee430ff39508.tar.gz |
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) |