parse.y: more token names

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2019-01-21 10:24:56 +00:00
parent 12afc11fcd
commit 62ec5eb018
3 changed files with 25 additions and 8 deletions

View file

@ -1079,7 +1079,7 @@ x = __ENCODING__
end
def test_truncated_source_line
e = assert_raise_with_message(SyntaxError, /unexpected tIDENTIFIER/) do
e = assert_raise_with_message(SyntaxError, /unexpected local variable or method/) do
eval("'0123456789012345678901234567890123456789' abcdefghijklmnopqrstuvwxyz0123456789 0123456789012345678901234567890123456789")
end
line = e.message.lines[1]