diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2020-01-19 12:49:40 +0900 |
---|---|---|
committer | NARUSE, Yui <naruse@airemix.jp> | 2020-02-18 15:09:46 +0900 |
commit | 0643eb2e59dbd80f9be001c2ec77c980e8aeff3f (patch) | |
tree | 44d0c7ea1a7d2f52777726ccec99c52eb47c37fe /test | |
parent | 9820f9ee0aaccd78e6e0489e8915d3925c6ee97c (diff) | |
download | ruby-0643eb2e59dbd80f9be001c2ec77c980e8aeff3f.tar.gz |
Fix typo s/test_ruby2_keywords_hash!/test_ruby2_keywords_hash/
In #2818, `Hash.ruby2_keywords!` has renamed to `Hash.ruby2_keywords_hash`.
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 304bd585a4..0f6377cf55 100644 --- a/test/ruby/test_hash.rb +++ b/test/ruby/test_hash.rb @@ -1756,7 +1756,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) |