diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2020-01-19 12:49:40 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2020-01-19 13:06:27 +0900 |
commit | af6563f0242487781038f6e5304fb375102aff66 (patch) | |
tree | 0c5973dd247bd81022cc542c62abb433cadabb19 /test | |
parent | edf2cedc9c54c48a16f2e6e7cc44d02df8c0603c (diff) |
Fix typo s/test_ruby2_keywords_hash!/test_ruby2_keywords_hash/
In #2818, `Hash.ruby2_keywords!` has renamed to `Hash.ruby2_keywords_hash`.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2849
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_hash.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_hash.rb b/test/ruby/test_hash.rb index 2c449739f1..98ddbef1eb 100644 --- a/test/ruby/test_hash.rb +++ b/test/ruby/test_hash.rb @@ -1772,7 +1772,7 @@ class TestHash < Test::Unit::TestCase assert_raise(TypeError) { Hash.ruby2_keywords_hash?(1) } end - def test_ruby2_keywords_hash! + def test_ruby2_keywords_hash hash = {k: 1} assert_equal(false, Hash.ruby2_keywords_hash?(hash)) hash = Hash.ruby2_keywords_hash(hash) |