mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
use assert_predicate for unary operator
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2314b80d4c
commit
418bbce88a
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ class TestDefined < Test::Unit::TestCase
|
|||
|
||||
def test_defined_impl_specific
|
||||
feature7035 = '[ruby-core:47558]' # not spec
|
||||
assert_operator(defined?(Foo), :frozen?, feature7035)
|
||||
assert_predicate(defined?(Foo), :frozen?, feature7035)
|
||||
assert_same(defined?(Foo), defined?(Array), feature7035)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue