summaryrefslogtreecommitdiff
path: root/test/ripper
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-09 06:16:07 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-09 06:16:07 +0000
commit41c199130a526efe27c39ea8e9d3f0134a8dfa5d (patch)
tree361594cf9a5f3feac15b1206e73690ebb06ab6ad /test/ripper
parent6b18a8c2e9540f67de5887f899d73e100c3ce13f (diff)
* parse.y (string_content, parser_yylex): count brace nesting to
dispatch embexpr_end. [ruby-core:43775][Bug #6211] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ripper')
-rw-r--r--test/ripper/test_scanner_events.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/ripper/test_scanner_events.rb b/test/ripper/test_scanner_events.rb
index e792ca8..5b58dd8 100644
--- a/test/ripper/test_scanner_events.rb
+++ b/test/ripper/test_scanner_events.rb
@@ -210,8 +210,6 @@ class TestRipper::ScannerEvents < Test::Unit::TestCase
end
def test_embexpr_end
-=begin
- # currently detected as "rbrace"
assert_equal [],
scan('embexpr_end', '')
assert_equal ['}'],
@@ -222,7 +220,6 @@ class TestRipper::ScannerEvents < Test::Unit::TestCase
scan('embexpr_end', '%Q[#{expr}]')
assert_equal ['}'],
scan('embexpr_end', "m(<<EOS)\n\#{expr}\nEOS")
-=end
end
def test_embvar