From 52ec107a1b3c356743d9d883fd3e49bfe55ebb1c Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 3 Sep 2017 00:25:01 +0000 Subject: 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 --- test/ruby/test_io.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3