ruby-changes:2807
From: ko1@a...
Date: 18 Dec 2007 20:58:57 +0900
Subject: [ruby-changes:2807] ko1 - Ruby:r14298 (trunk): * bootstraptest/test_knownbug.rb: add issues.
ko1 2007-12-18 20:58:28 +0900 (Tue, 18 Dec 2007) New Revision: 14298 Modified files: trunk/ChangeLog trunk/bootstraptest/test_knownbug.rb Log: * bootstraptest/test_knownbug.rb: add issues. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14298&r2=14297 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/bootstraptest/test_knownbug.rb?r1=14298&r2=14297 Index: ChangeLog =================================================================== --- ChangeLog (revision 14297) +++ ChangeLog (revision 14298) @@ -1,3 +1,7 @@ +Tue Dec 18 18:10:05 2007 Koichi Sasada <ko1@a...> + + * bootstraptest/test_knownbug.rb: add issues. + Tue Dec 18 20:22:44 2007 Tanaka Akira <akr@f...> * parse.y (arg tMATCH arg): call reg_named_capture_assign_gen if regexp Index: bootstraptest/test_knownbug.rb =================================================================== --- bootstraptest/test_knownbug.rb (revision 14297) +++ bootstraptest/test_knownbug.rb (revision 14298) @@ -35,7 +35,24 @@ end } +assert_normal_exit %q{ + eval "0 rescue break" +}, '[ruby-dev:31372]' + +assert_normal_exit %q{ + eval "while true; return; end rescue p $!" +}, '[ruby-dev:31663]' + assert_equal 'ok', %q{ + 1.times{ + eval("break") + } + :ok +}, '[ruby-dev:32525]' + +## encoding + +assert_equal 'ok', %q{ begin if ("\xa1\xa2\xa1\xa3").force_encoding("euc-jp").split(//) == ["\xa1\xa2".force_encoding("euc-jp"), "\xa1\xa3".force_encoding("euc-jp")] -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml