ruby-changes:48112
From: nobu <ko1@a...>
Date: Sat, 21 Oct 2017 12:18:50 +0900 (JST)
Subject: [ruby-changes:48112] nobu:r60226 (trunk): assertion for r60225
nobu 2017-10-21 12:18:46 +0900 (Sat, 21 Oct 2017) New Revision: 60226 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60226 Log: assertion for r60225 Modified files: trunk/test/ruby/test_parse.rb Index: test/ruby/test_parse.rb =================================================================== --- test/ruby/test_parse.rb (revision 60225) +++ test/ruby/test_parse.rb (revision 60226) @@ -1039,6 +1039,9 @@ x = __ENCODING__ https://github.com/ruby/ruby/blob/trunk/test/ruby/test_parse.rb#L1039 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/