From de0a0beb837323a73edc5882dc7071979054d7be Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Fri, 13 May 2022 15:43:57 +0100 Subject: Tests: added tests for Ruby stream IO.close(). --- test/ruby/input_gets/config.ru | 1 + 1 file changed, 1 insertion(+) (limited to 'test/ruby/input_gets') diff --git a/test/ruby/input_gets/config.ru b/test/ruby/input_gets/config.ru index 1a6633ab..151fe235 100644 --- a/test/ruby/input_gets/config.ru +++ b/test/ruby/input_gets/config.ru @@ -1,5 +1,6 @@ app = Proc.new do |env| body = env['rack.input'].gets + env['rack.input'].close ['200', { 'Content-Length' => body.length.to_s }, [body]] -- cgit