1
0
Fork 0
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:
naruse 2012-09-24 12:10:51 +00:00
parent 2314b80d4c
commit 418bbce88a

View file

@ -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