diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-18 04:23:16 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-18 04:23:16 +0000 |
commit | 570642bf154a2366506202821584ac38e5a8c4ff (patch) | |
tree | 922002d73c021e1074718dc7c022f03d73861d02 /test/lib | |
parent | 9940a8d18180a79c28496214ea8c7f71f8fa7fe1 (diff) |
envutil.rb: define flush method
* test/lib/envutil.rb (verbose_warning): flush is called on STDOUT
and STDERR sometimes.
From: Nobuyoshi Nakada <nobu@ruby-lang.org>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/lib')
-rw-r--r-- | test/lib/envutil.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lib/envutil.rb b/test/lib/envutil.rb index a5621963e1..fce0e1b382 100644 --- a/test/lib/envutil.rb +++ b/test/lib/envutil.rb @@ -174,6 +174,7 @@ module EnvUtil def verbose_warning class << (stderr = "".dup) alias write concat + def flush; end end stderr, $stderr = $stderr, stderr $VERBOSE = true |