1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* bootstraptest/test_knownbug.rb: more portable way

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2007-12-31 16:34:30 +00:00
parent e460d4f757
commit 5e22f59982

View file

@ -4,7 +4,7 @@
#
assert_normal_exit %q{
STDERR.reopen("/dev/null") if File.exist? "/dev/null" and File.writable? "/dev/null"
STDERR.reopen(STDOUT)
class Foo
def self.add_method
class_eval("def some-bad-name; puts 'hello' unless @some_variable.some_function(''); end")