Skip to content

Commit db086af

Browse files
committed
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.
1 parent c01a038 commit db086af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ $t->write_file('test.js', <<EOF);
222222
}
223223
224224
function test_log(r) {
225-
r.log('SEE-THIS');
225+
r.log('SEE-LOG');
226226
}
227227
228228
function test_except(r) {
@@ -298,7 +298,7 @@ like(http_get('/content_empty'), qr/500 Internal Server Error/,
298298

299299
$t->stop();
300300

301-
ok(index($t->read_file('error.log'), 'SEE-THIS') > 0, 'log js');
301+
ok(index($t->read_file('error.log'), 'SEE-LOG') > 0, 'log js');
302302
ok(index($t->read_file('error.log'), 'at fs.readFileSync') > 0,
303303
'js_set backtrace');
304304
ok(index($t->read_file('error.log'), 'at JSON.parse') > 0,

0 commit comments

Comments
 (0)