summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/test_pp.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_pp.rb b/test/test_pp.rb
index 026b2ac9f7..cd16af6394 100644
--- a/test/test_pp.rb
+++ b/test/test_pp.rb
@@ -179,6 +179,7 @@ class PPSingleLineTest < Test::Unit::TestCase
def test_hash_in_array
assert_equal("[{}]", PP.singleline_pp([->(*a){a.last}.ruby2_keywords.call(**{})], ''.dup))
+ assert_equal("[{}]", PP.singleline_pp([Hash.ruby2_keywords_hash({})], ''.dup))
end
end