mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test/ruby: better assertions
* test/ruby: use better assertions instead of mere assert. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
287d2adab0
commit
3ac0ec4ecd
45 changed files with 532 additions and 510 deletions
|
@ -826,7 +826,7 @@ x = __ENCODING__
|
|||
def test_all_symbols
|
||||
x = Symbol.all_symbols
|
||||
assert_kind_of(Array, x)
|
||||
assert(x.all? {|s| s.is_a?(Symbol) })
|
||||
assert_empty(x.reject {|s| s.is_a?(Symbol) })
|
||||
end
|
||||
|
||||
def test_is_class_id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue