[前][次][番号順一覧][スレッド一覧]

ruby-changes:3330

From: ko1@a...
Date: 1 Jan 2008 01:32:31 +0900
Subject: [ruby-changes:3330] matz - Ruby:r14823 (trunk): * bootstraptest/test_knownbug.rb: shut up syntax error

matz	2008-01-01 01:32:24 +0900 (Tue, 01 Jan 2008)

  New Revision: 14823

  Modified files:
    trunk/bootstraptest/test_knownbug.rb

  Log:
    * bootstraptest/test_knownbug.rb: shut up syntax error

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/bootstraptest/test_knownbug.rb?r1=14823&r2=14822&diff_format=u

Index: bootstraptest/test_knownbug.rb
===================================================================
--- bootstraptest/test_knownbug.rb	(revision 14822)
+++ bootstraptest/test_knownbug.rb	(revision 14823)
@@ -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")

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧]