changeset 1502:5ae8e8feac36

Tests: adjusted request body tests with invalid chunked body.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 04 Sep 2019 15:03:03 +0300
parents 91235919d80f
children 06fbbf1706bd
files body_chunked.t
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/body_chunked.t
+++ b/body_chunked.t
@@ -152,7 +152,7 @@ like(
 	qr/400 Bad/, 'runaway chunk'
 );
 
-unlike(
+like(
 	http(
 		'GET /discard HTTP/1.1' . CRLF
 		. 'Host: localhost' . CRLF
@@ -162,7 +162,7 @@ unlike(
 		. 'SEE-THIS' . CRLF
 		. '0' . CRLF . CRLF
 	),
-	qr/200 OK/, 'runaway chunk discard'
+	qr/400 Bad/, 'runaway chunk discard'
 );
 
 }