diff options
author | Nobuyoshi Nakada <[email protected]> | 2022-12-13 15:18:42 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2022-12-13 18:06:11 +0900 |
commit | 764da87ab02d30c578138bdb0f37e7c18f2d4371 (patch) | |
tree | b8096ba4f75f41b6442f01454ec04e12faf4bc84 /test/ruby/test_pattern_matching.rb | |
parent | 3262842e0adaed63935923bdc14884ac19d7549c (diff) |
[Bug #19195] Allow optional newlines before closing parenthesis
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6916
Diffstat (limited to 'test/ruby/test_pattern_matching.rb')
-rw-r--r-- | test/ruby/test_pattern_matching.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_pattern_matching.rb b/test/ruby/test_pattern_matching.rb index fbb934dc84..0337e5d945 100644 --- a/test/ruby/test_pattern_matching.rb +++ b/test/ruby/test_pattern_matching.rb @@ -464,6 +464,8 @@ END true end end + + assert_valid_syntax("1 in ^(1\n)") end def test_array_pattern |