File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1623,7 +1623,7 @@ def fu_same?(a, b) #:nodoc:
16231623
16241624 def fu_output_message ( msg ) #:nodoc:
16251625 output = @fileutils_output if defined? ( @fileutils_output )
1626- output ||= $stderr
1626+ output ||= $stdout
16271627 if defined? ( @fileutils_label )
16281628 msg = @fileutils_label + msg
16291629 end
Original file line number Diff line number Diff line change @@ -1748,16 +1748,16 @@ def test_chdir_verbose_frozen
17481748 o . extend ( FileUtils )
17491749 o . singleton_class . send ( :public , :chdir )
17501750 o . freeze
1751- orig_stderr = $stderr
1752- $stderr = StringIO . new
1751+ orig_stdout = $stdout
1752+ $stdout = StringIO . new
17531753 o . chdir ( '.' , verbose : true ) { }
1754- $stderr . rewind
1755- assert_equal ( <<-END , $stderr . read )
1754+ $stdout . rewind
1755+ assert_equal ( <<-END , $stdout . read )
17561756cd .
17571757cd -
17581758 END
17591759 ensure
1760- $stderr = orig_stderr if orig_stderr
1760+ $stdout = orig_stdout if orig_stdout
17611761 end
17621762
17631763 def test_getwd
You can’t perform that action at this time.
0 commit comments