summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-03 10:48:35 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-03 10:48:35 +0000
commit1421b85ea242c64272a3bed9974d834d305926b6 (patch)
tree66ff83b79f457c7ce9ab8f3028cc32c3b70e1d1c /bootstraptest
parent059fe7997e0c9bf0861f8e6ff9a00277cb5846f6 (diff)
* bootstraptest/test_eval.rb, test_knownbug.rb: move a fixed test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_eval.rb10
-rw-r--r--bootstraptest/test_knownbug.rb9
2 files changed, 10 insertions, 9 deletions
diff --git a/bootstraptest/test_eval.rb b/bootstraptest/test_eval.rb
index b2a5762460..a0e37b9b9a 100644
--- a/bootstraptest/test_eval.rb
+++ b/bootstraptest/test_eval.rb
@@ -198,3 +198,13 @@ assert_equal %q{[10, main]}, %q{
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'
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb
index 441212c17c..3da2554937 100644
--- a/bootstraptest/test_knownbug.rb
+++ b/bootstraptest/test_knownbug.rb
@@ -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'