diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 03:18:46 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 03:18:46 +0000 |
commit | 08c8f7319559d9a86b89270d4494325ae6c8e539 (patch) | |
tree | 12fa6244399e8ac3eeb32beb5fd0a5049c84941d /test | |
parent | 1a0ed8cb42c88868ea51adb8fa6f3a4bab722b7d (diff) | |
download | ruby-08c8f7319559d9a86b89270d4494325ae6c8e539.tar.gz |
assertion for r60225
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_parse.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ruby/test_parse.rb b/test/ruby/test_parse.rb index b9fa57f2c7..5b973a0901 100644 --- a/test/ruby/test_parse.rb +++ b/test/ruby/test_parse.rb @@ -1039,6 +1039,9 @@ x = __ENCODING__ assert_raise_with_message(SyntaxError, /^ \^~~\z/) do eval('0000xyz') end + assert_raise_with_message(SyntaxError, /^ \^~~\z/) do + eval('1.2i1.1') + end end def test_truncated_source_line |