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 | 52ec107a1b3c356743d9d883fd3e49bfe55ebb1c (patch) | |
tree | 7622aa945025ee737930b7c06df0bb50a485c875 /test/ruby | |
parent | 0cbcb5f5804a7652709d2227428ffc09ae3c8935 (diff) | |
download | ruby-52ec107a1b3c356743d9d883fd3e49bfe55ebb1c.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 |