зеркало из https://github.com/github/ruby.git
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:
Родитель
2314b80d4c
Коммит
418bbce88a
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче