From: Dmitry Volyntsev Date: Wed, 28 Aug 2024 23:57:49 +0000 (-0700) Subject: Tests: making exception test more portable in stream_js.t. X-Git-Tag: 0.8.6~9 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=a3a4dd45a5377723042df2194b06565e9abc0f2f;p=njs.git Tests: making exception test more portable in stream_js.t. --- diff --git a/nginx/t/stream_js.t b/nginx/t/stream_js.t index ed80be65..52ab688e 100644 --- a/nginx/t/stream_js.t +++ b/nginx/t/stream_js.t @@ -366,8 +366,7 @@ $t->write_file('test.js', <read(), qr/\xaa\xbb\xcc\xdd/, $t->stop(); ok(index($t->read_file('error.log'), 'SEE-THIS') > 0, 'stream js log'); -ok(index($t->read_file('error.log'), 'at fs.readFileSync') > 0, +ok(index($t->read_file('error.log'), 'at decodeURI') > 0, 'stream js_preread backtrace'); ok(index($t->read_file('error.log'), 'at filter_except') > 0, 'stream js_filter backtrace');