summaryrefslogtreecommitdiff
path: root/test/ruby/test_pattern_matching.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_pattern_matching.rb')
-rw-r--r--test/ruby/test_pattern_matching.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_pattern_matching.rb b/test/ruby/test_pattern_matching.rb
index cb87529ccf..5283d5ce87 100644
--- a/test/ruby/test_pattern_matching.rb
+++ b/test/ruby/test_pattern_matching.rb
@@ -1186,6 +1186,7 @@ END
def test_modifier_in
assert_equal true, (1 in a)
assert_equal 1, a
+ assert_valid_syntax "p(({} in a:), a:\n 1)"
end
end
END_of_GUARD