diff options
Diffstat (limited to 'test/test_pp.rb')
-rw-r--r-- | test/test_pp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_pp.rb b/test/test_pp.rb index cd16af6394..3434c2b04c 100644 --- a/test/test_pp.rb +++ b/test/test_pp.rb @@ -178,7 +178,7 @@ class PPSingleLineTest < Test::Unit::TestCase end def test_hash_in_array - assert_equal("[{}]", PP.singleline_pp([->(*a){a.last}.ruby2_keywords.call(**{})], ''.dup)) + assert_equal("[{}]", PP.singleline_pp([->(*a){a.last.clear}.ruby2_keywords.call(a: 1)], ''.dup)) assert_equal("[{}]", PP.singleline_pp([Hash.ruby2_keywords_hash({})], ''.dup)) end end |