diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_syntax.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ruby/test_syntax.rb b/test/ruby/test_syntax.rb index a904b0dc3a..ec6fc25ae4 100644 --- a/test/ruby/test_syntax.rb +++ b/test/ruby/test_syntax.rb @@ -1033,6 +1033,9 @@ eom assert_valid_syntax("a\n.foo") assert_valid_syntax("a\n&.foo") assert_valid_syntax("a\n.:foo") + assert_valid_syntax("a #\n#\n.foo\n") + assert_valid_syntax("a #\n#\n&.foo\n") + assert_valid_syntax("a #\n#\n.:foo\n") end def test_safe_call_in_massign_lhs |