diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-03 00:25:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-03 00:25:01 +0000 |
commit | 5bd3dc05a53032704693e99664aa00b579cfde8a (patch) | |
tree | 7622aa945025ee737930b7c06df0bb50a485c875 /test/ruby | |
parent | 2800a102961144655932cb00389cc6111ef8223a (diff) | |
download | ruby-5bd3dc05a53032704693e99664aa00b579cfde8a.tar.gz |
test_io.rb: suppress a warning
* test/ruby/test_io.rb (test_single_exception_on_close): suppress
ambiguous first argument warning with RUBYOPT=-w.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-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 791e52b500..402d497896 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -2836,7 +2836,7 @@ __END__ end end a.each do |r, w| - w.write -"\n" + w.write(-"\n") w.close r.close end |