From 1862235a26a655dcd21277d8f920481b19e1991d Mon Sep 17 00:00:00 2001 From: Jithil P Ponnan Date: Wed, 15 Nov 2023 00:45:34 +1100 Subject: [PATCH] test: fix message v8 not normalising alphanumeric paths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/50730 Fixes: https://github.com/nodejs/node/issues/50724 Reviewed-By: Moshe Atlow Reviewed-By: Vinícius Lourenço Claro Cardoso Reviewed-By: Rafael Gonzaga --- test/parallel/test-node-output-v8-warning.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/test/parallel/test-node-output-v8-warning.mjs b/test/parallel/test-node-output-v8-warning.mjs index 7278a03ce178e7..8e497739d21c70 100644 --- a/test/parallel/test-node-output-v8-warning.mjs +++ b/test/parallel/test-node-output-v8-warning.mjs @@ -13,6 +13,7 @@ describe('v8 output', { concurrency: true }, () => { .replaceAll(/:\d+/g, ':*') .replaceAll('/', '*') .replaceAll('*test*', '*') + .replaceAll(/.*?\*fixtures\*v8\*/g, '(node:*) V8: *') // Replace entire path before fixtures/v8 .replaceAll('*fixtures*v8*', '*') .replaceAll('node --', '* --'); }