diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-08-13 07:14:14 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-08-13 07:14:14 -0700 |
| commit | 4b2904f6a3dd4c8bce6b2a17b21b455249ecadf2 (patch) | |
| tree | ab4a49becbb5633d5d3655f8749f0d888e539043 /test/t/array.rb | |
| parent | 6b015ec775571b2cbe96ae1545dd97991fbaf34a (diff) | |
| parent | 90f6b1815cfd54ff383d5b9f3508105eb5347766 (diff) | |
| download | mruby-4b2904f6a3dd4c8bce6b2a17b21b455249ecadf2.tar.gz mruby-4b2904f6a3dd4c8bce6b2a17b21b455249ecadf2.zip | |
Merge pull request #1468 from suzukaze/add-array-test
I add ISO test '15.2.12.3' included modules in Arrray
Diffstat (limited to 'test/t/array.rb')
| -rw-r--r-- | test/t/array.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/t/array.rb b/test/t/array.rb index 78fb4bf05..cb2415ffb 100644 --- a/test/t/array.rb +++ b/test/t/array.rb @@ -9,6 +9,10 @@ assert('Array superclass', '15.2.12.2') do 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 |
