From 41c199130a526efe27c39ea8e9d3f0134a8dfa5d Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 9 Apr 2012 06:16:07 +0000 Subject: * 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 --- test/ripper/test_scanner_events.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'test/ripper/test_scanner_events.rb') diff --git a/test/ripper/test_scanner_events.rb b/test/ripper/test_scanner_events.rb index e792ca8f4d..5b58dd8289 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(<