Mercurial > hg > nginx-tests
comparison js_dump.t @ 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 | bc0990ea2e5b |
children | 18ac4d9e5a2a |
comparison
equal
deleted
inserted
replaced
1616:cd0461e1e392 | 1617:c56df3527161 |
---|---|
101 ), qr/headersOut":\{"baz":"bar"}/, 'JSON.stringify(r)'); | 101 ), qr/headersOut":\{"baz":"bar"}/, 'JSON.stringify(r)'); |
102 | 102 |
103 like(http( | 103 like(http( |
104 'GET /stringify_subrequest HTTP/1.0' . CRLF | 104 'GET /stringify_subrequest HTTP/1.0' . CRLF |
105 . 'Host: localhost' . CRLF . CRLF | 105 . 'Host: localhost' . CRLF . CRLF |
106 ), qr/responseBody":"\{GET}"/, 'JSON.stringify(reply)'); | 106 ), qr/"status":201/, 'JSON.stringify(reply)'); |
107 | 107 |
108 ############################################################################### | 108 ############################################################################### |