summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-31 16:32:24 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-31 16:32:24 +0000
commite460d4f75782a4785c3f47d778a1c9b8ccd25659 (patch)
treea432ea70710a70027136b9e97f18150c2bc8f272 /bootstraptest
parent1701a536d10d6ac87ff93b7c67f5052a4e9a2b12 (diff)
* bootstraptest/test_knownbug.rb: shut up syntax error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_knownbug.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb
index 2d260137c2..2e81f3c384 100644
--- a/bootstraptest/test_knownbug.rb
+++ b/bootstraptest/test_knownbug.rb
@@ -4,6 +4,7 @@
#
assert_normal_exit %q{
+ STDERR.reopen("/dev/null") if File.exist? "/dev/null" and File.writable? "/dev/null"
class Foo
def self.add_method
class_eval("def some-bad-name; puts 'hello' unless @some_variable.some_function(''); end")