mirror of
https://github.com/nodejs/node.git
synced 2025-08-16 06:08:50 +02:00
test: remove unneeded m flag on regular expressions
The m flag has no effect on regular expressions that don't match the start or the end of a line. PR-URL: https://github.com/nodejs/node/pull/38124 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
parent
269f5132cc
commit
7e516aaac0
3 changed files with 5 additions and 5 deletions
|
@ -29,4 +29,4 @@ const child = spawnSync(process.execPath, [
|
|||
'--expose-gc', __filename, 'child',
|
||||
]);
|
||||
assert.strictEqual(child.signal, null);
|
||||
assert.match(child.stderr.toString(), /Error during Finalize/m);
|
||||
assert.match(child.stderr.toString(), /Error during Finalize/);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue