summaryrefslogtreecommitdiff
path: root/tool/test/webrick/test_httprequest.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/test/webrick/test_httprequest.rb')
-rw-r--r--tool/test/webrick/test_httprequest.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/test/webrick/test_httprequest.rb b/tool/test/webrick/test_httprequest.rb
index 759ccbdada..3c0ea937d9 100644
--- a/tool/test/webrick/test_httprequest.rb
+++ b/tool/test/webrick/test_httprequest.rb
@@ -245,7 +245,7 @@ GET /
_end_of_message_
msg.gsub!(/^ {6}/, "")
- open(__FILE__){|io|
+ File.open(__FILE__){|io|
while chunk = io.read(100)
msg << chunk.size.to_s(16) << crlf
msg << chunk << crlf