aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-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 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