summaryrefslogtreecommitdiff
path: root/test/ruby/test_parse.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-21 10:24:56 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-21 10:24:56 +0000
commit62ec5eb01874472e2df9d871ef329d5a76b9c853 (patch)
treeef0aef4c83f8e0cc32ec7bf18acbf4e94f13abe3 /test/ruby/test_parse.rb
parent12afc11fcda570118c03e88cbb72521e33c38f78 (diff)
parse.y: more token names
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_parse.rb')
-rw-r--r--test/ruby/test_parse.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_parse.rb b/test/ruby/test_parse.rb
index c7aeeecb61..1345dabc6e 100644
--- a/test/ruby/test_parse.rb
+++ b/test/ruby/test_parse.rb
@@ -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]