summaryrefslogtreecommitdiff
path: root/test/ruby/test_io.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_io.rb')
-rw-r--r--test/ruby/test_io.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb
index f646c41a69..7f407647ec 100644
--- a/test/ruby/test_io.rb
+++ b/test/ruby/test_io.rb
@@ -2480,7 +2480,7 @@ class TestIO < Test::Unit::TestCase
end
def test_print_separators
- $, = ':'
+ EnvUtil.suppress_warning {$, = ':'}
$\ = "\n"
pipe(proc do |w|
w.print('a')