# HG changeset patch # User Dmitry Volyntsev # Date 1605033910 0 # Node ID 0411d30859ad0b7419f7b6296957249736980028 # Parent e4e0695552edc7d44281666bae8ee944c864f757 Tests: changed log js test. SEE-THIS label is already used in 'return text' test. To avoid potential overlap, a different label should be used for 'log js' test. diff --git a/js.t b/js.t --- a/js.t +++ b/js.t @@ -222,7 +222,7 @@ EOF } function test_log(r) { - r.log('SEE-THIS'); + r.log('SEE-LOG'); } function test_except(r) { @@ -298,7 +298,7 @@ like(http_get('/content_empty'), qr/500 $t->stop(); -ok(index($t->read_file('error.log'), 'SEE-THIS') > 0, 'log js'); +ok(index($t->read_file('error.log'), 'SEE-LOG') > 0, 'log js'); ok(index($t->read_file('error.log'), 'at fs.readFileSync') > 0, 'js_set backtrace'); ok(index($t->read_file('error.log'), 'at JSON.parse') > 0,