Tests: Ruby input.rewind is no longer required.

For more information see:
42aff22f70
This commit is contained in:
Andrei Zeliankou 2023-11-17 17:28:44 +00:00
parent 1443d623d4
commit 8fbe437ca6
2 changed files with 0 additions and 17 deletions

View file

@ -1,8 +0,0 @@
app = Proc.new do |env|
env['rack.input'].read
env['rack.input'].rewind
body = env['rack.input'].read
['200', {'Content-Length' => body.length.to_s}, [body]]
end
run app

View file

@ -163,15 +163,6 @@ def test_ruby_application_input_each():
assert client.post(body=body)['body'] == body, 'input each'
@pytest.mark.skip('not yet')
def test_ruby_application_input_rewind():
client.load('input_rewind')
body = '0123456789'
assert client.post(body=body)['body'] == body, 'input rewind'
@pytest.mark.skip('not yet')
def test_ruby_application_syntax_error(skip_alert):
skip_alert(