changeset 1617:c56df3527161

Tests: adapted js_dump.t to upcoming changes in 0.5.0. After 0.5.0 responseBody property remains but becomes non-enumerable and finally will be removed in the future releases.
author Dmitry Volyntsev <xeioex@nginx.com>
date Mon, 23 Nov 2020 11:23:49 +0000
parents cd0461e1e392
children cea0591b13dd
files js_dump.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/js_dump.t
+++ b/js_dump.t
@@ -103,6 +103,6 @@ like(http(
 like(http(
 	'GET /stringify_subrequest HTTP/1.0' . CRLF
 	. 'Host: localhost' . CRLF . CRLF
-), qr/responseBody":"\{GET}"/, 'JSON.stringify(reply)');
+), qr/"status":201/, 'JSON.stringify(reply)');
 
 ###############################################################################