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:
1623
1623
1624
1624
def fu_output_message ( msg ) #:nodoc:
1625
1625
output = @fileutils_output if defined? ( @fileutils_output )
1626
- output ||= $stderr
1626
+ output ||= $stdout
1627
1627
if defined? ( @fileutils_label )
1628
1628
msg = @fileutils_label + msg
1629
1629
end
Original file line number Diff line number Diff line change @@ -1748,16 +1748,16 @@ def test_chdir_verbose_frozen
1748
1748
o . extend ( FileUtils )
1749
1749
o . singleton_class . send ( :public , :chdir )
1750
1750
o . freeze
1751
- orig_stderr = $stderr
1752
- $stderr = StringIO . new
1751
+ orig_stdout = $stdout
1752
+ $stdout = StringIO . new
1753
1753
o . chdir ( '.' , verbose : true ) { }
1754
- $stderr . rewind
1755
- assert_equal ( <<-END , $stderr . read )
1754
+ $stdout . rewind
1755
+ assert_equal ( <<-END , $stdout . read )
1756
1756
cd .
1757
1757
cd -
1758
1758
END
1759
1759
ensure
1760
- $stderr = orig_stderr if orig_stderr
1760
+ $stdout = orig_stdout if orig_stdout
1761
1761
end
1762
1762
1763
1763
def test_getwd
You can’t perform that action at this time.
0 commit comments