summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-hash-ext/test
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2018-09-19 22:01:28 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2018-11-19 12:08:28 +0900
commit5bbcea9b3bdb0e7dc048f92cebefb54858196935 (patch)
treea9d314112808837e9475ff618244a255d0e0b16e /mrbgems/mruby-hash-ext/test
parentb5d43a16a38d522aa1d1d1a889585749a6b8086d (diff)
downloadmruby-5bbcea9b3bdb0e7dc048f92cebefb54858196935.tar.gz
mruby-5bbcea9b3bdb0e7dc048f92cebefb54858196935.zip
Removed `try_convert` method from Array and Hash.
Diffstat (limited to 'mrbgems/mruby-hash-ext/test')
-rw-r--r--mrbgems/mruby-hash-ext/test/hash.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/mrbgems/mruby-hash-ext/test/hash.rb b/mrbgems/mruby-hash-ext/test/hash.rb
index 269da800d..b5d0aaaf8 100644
--- a/mrbgems/mruby-hash-ext/test/hash.rb
+++ b/mrbgems/mruby-hash-ext/test/hash.rb
@@ -45,12 +45,6 @@ assert('Hash.[] for sub class') do
assert_equal(sub_hash_class, sub_hash.class)
end
-assert('Hash.try_convert') do
- assert_nil Hash.try_convert(nil)
- assert_nil Hash.try_convert("{1=>2}")
- assert_equal({1=>2}, Hash.try_convert({1=>2}))
-end
-
assert('Hash#merge!') do
a = { 'abc_key' => 'abc_value', 'cba_key' => 'cba_value' }
b = { 'cba_key' => 'XXX', 'xyz_key' => 'xyz_value' }