aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2020-01-19 12:49:40 +0900
committerNARUSE, Yui <naruse@airemix.jp>2020-02-18 15:09:46 +0900
commit0643eb2e59dbd80f9be001c2ec77c980e8aeff3f (patch)
tree44d0c7ea1a7d2f52777726ccec99c52eb47c37fe /test
parent9820f9ee0aaccd78e6e0489e8915d3925c6ee97c (diff)
downloadruby-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.rb2
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)