diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-05-25 23:18:45 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-05-25 23:18:45 +0900 |
| commit | 6d6957078eb56d95af3c729bb172765bf610ef54 (patch) | |
| tree | eeac39cda383e9748f471a72f304c34016ea0eec /mrbgems/mruby-array-ext/test/array.rb | |
| parent | 229e7fe245535780fcad83527bfe2e9a09c8c023 (diff) | |
| download | mruby-6d6957078eb56d95af3c729bb172765bf610ef54.tar.gz mruby-6d6957078eb56d95af3c729bb172765bf610ef54.zip | |
no one uses Array.try_convert, so removed it that discourages duck typing; close #2317
Diffstat (limited to 'mrbgems/mruby-array-ext/test/array.rb')
| -rw-r--r-- | mrbgems/mruby-array-ext/test/array.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/mrbgems/mruby-array-ext/test/array.rb b/mrbgems/mruby-array-ext/test/array.rb index 1fa7cfc04..cb5652dde 100644 --- a/mrbgems/mruby-array-ext/test/array.rb +++ b/mrbgems/mruby-array-ext/test/array.rb @@ -1,11 +1,6 @@ ## # Array(Ext) Test -assert("Array::try_convert") do - assert_equal [1], Array.try_convert([1]) - assert_nil Array.try_convert("1") -end - assert("Array#assoc") do s1 = [ "colors", "red", "blue", "green" ] s2 = [ "letters", "a", "b", "c" ] |
