Fix typo s/test_ruby2_keywords_hash!/test_ruby2_keywords_hash/
In #2818, `Hash.ruby2_keywords!` has renamed to `Hash.ruby2_keywords_hash`.
This commit is contained in:
parent
edf2cedc9c
commit
af6563f024
Notes:
git
2020-01-19 13:06:58 +09:00
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user