Tests: added tests for Ruby stream IO.close().
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
app = Proc.new do |env|
|
||||
env['rack.errors'].write('Error in application')
|
||||
env['rack.errors'].flush
|
||||
env['rack.errors'].close
|
||||
['200', {'Content-Length' => '0'}, ['']]
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user