From b4229c0a90ef902328e09a92fc5c6e884d01c542 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 29 Oct 2019 08:58:39 +0900 Subject: Restore `in_kwarg` flag properly --- test/ruby/test_pattern_matching.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test') 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 -- cgit v1.2.3