diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-01-20 17:28:56 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-02-23 13:37:40 +0900 |
commit | 588a86e32c9e646823e1436e53ffe1c37206abd3 (patch) | |
tree | f0aa70912fb1c9a86d80e624e836680e93ec83a8 /test/ruby/test_io.rb | |
parent | 0ed3384fd463ff80f5e55f7d4c62338fb15337d5 (diff) | |
download | ruby-588a86e32c9e646823e1436e53ffe1c37206abd3.tar.gz |
Warn non-nil `$,` in `IO#print` too
Diffstat (limited to 'test/ruby/test_io.rb')
-rw-r--r-- | test/ruby/test_io.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index 6bdc7bb27f..af2b08de95 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -2572,7 +2572,7 @@ class TestIO < Test::Unit::TestCase $\ = "\n" pipe(proc do |w| w.print('a') - w.print('a','b','c') + EnvUtil.suppress_warning {w.print('a','b','c')} w.close end, proc do |r| assert_equal("a\n", r.gets) |