ruby-changes:3375
From: ko1@a...
Date: 3 Jan 2008 19:48:50 +0900
Subject: [ruby-changes:3375] ko1 - Ruby:r14868 (trunk): * bootstraptest/test_eval.rb, test_knownbug.rb: move a fixed test.
ko1 2008-01-03 19:48:35 +0900 (Thu, 03 Jan 2008) New Revision: 14868 Modified files: trunk/ChangeLog trunk/bootstraptest/test_eval.rb trunk/bootstraptest/test_knownbug.rb Log: * bootstraptest/test_eval.rb, test_knownbug.rb: move a fixed test. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14868&r2=14867&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/bootstraptest/test_eval.rb?r1=14868&r2=14867&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/bootstraptest/test_knownbug.rb?r1=14868&r2=14867&diff_format=u Index: ChangeLog =================================================================== --- ChangeLog (revision 14867) +++ ChangeLog (revision 14868) @@ -1,3 +1,7 @@ +Thu Jan 3 19:45:57 2008 Koichi Sasada <ko1@a...> + + * bootstraptest/test_eval.rb, test_knownbug.rb: move a fixed test. + Thu Jan 3 18:39:12 2008 Tanaka Akira <akr@f...> * encoding.c: (rb_tolower, rb_toupper): body was exchanged. Index: bootstraptest/test_eval.rb =================================================================== --- bootstraptest/test_eval.rb (revision 14867) +++ bootstraptest/test_eval.rb (revision 14868) @@ -198,3 +198,13 @@ end }, '[ruby-dev:31372]' end + +assert_normal_exit %q{ + STDERR.reopen(STDOUT) + class Foo + def self.add_method + class_eval("def some-bad-name; puts 'hello' unless @some_variable.some_function(''); end") + end + end + Foo.add_method +}, '[ruby-core:14556] reported by Frederick Cheung' Index: bootstraptest/test_knownbug.rb =================================================================== --- bootstraptest/test_knownbug.rb (revision 14867) +++ bootstraptest/test_knownbug.rb (revision 14868) @@ -3,13 +3,4 @@ # So all tests will cause failure. # -assert_normal_exit %q{ - STDERR.reopen(STDOUT) - class Foo - def self.add_method - class_eval("def some-bad-name; puts 'hello' unless @some_variable.some_function(''); end") - end - end - Foo.add_method -}, '[ruby-core:14556] reported by Frederick Cheung' -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml