mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue