Skip to content

Commit

Permalink
I add ISO test '15.2.12.3' included modules in Arrray
Browse files Browse the repository at this point in the history
  • Loading branch information
suzukaze committed Aug 13, 2013
1 parent 6b015ec commit 90f6b18
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/t/array.rb
Expand Up @@ -9,6 +9,10 @@
assert_equal(Object, Array.superclass)
end

assert('Array inclueded modules', '15.2.12.3') do
assert_true(Array.include?(Enumerable))
end

assert('Array.[]', '15.2.12.4.1') do
assert_equal([1, 2, 3], Array.[](1,2,3))
end
Expand Down

0 comments on commit 90f6b18

Please sign in to comment.