mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
A test for r33542.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
615d5068d2
commit
96031a6d4e
1 changed files with 4 additions and 0 deletions
|
@ -83,6 +83,10 @@ class TestRipper::ScannerEvents < Test::Unit::TestCase
|
|||
[[1, 1], :on_tstring_content, "foo\n\xe3\x80\xa0"],
|
||||
[[2, 3], :on_tstring_end, "'"]],
|
||||
Ripper.lex("'foo\n\xe3\x80\xa0'")
|
||||
assert_equal [[[1, 0], :on_tstring_beg, "'"],
|
||||
[[1, 1], :on_tstring_content, "\u3042\n\u3044"],
|
||||
[[2, 3], :on_tstring_end, "'"]],
|
||||
Ripper.lex("'\u3042\n\u3044'")
|
||||
end
|
||||
|
||||
def test_location
|
||||
|
|
Loading…
Reference in a new issue