Skip to content

Commit edd8c2d

Browse files
XhmikosRmcollina
authored andcommitted
build/test-replacements.js: fix typo. (#415)
1 parent 4ba93f8 commit edd8c2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/test-replacements.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ module.exports['test-stream-finished.js'] = [
441441
module.exports['test-stream-readable-async-iterators.js'] = [
442442
[
443443
/assert.rejects\(/g,
444-
'(function(f, e) { let success = false; f().then(function() { success = true; throw new Error(\'should not succeeed\') }).catch(function(e2) { if (success) { throw e2; } assert.strictEqual(e.message, e2.message); })})('
444+
'(function(f, e) { let success = false; f().then(function() { success = true; throw new Error(\'should not succeed\') }).catch(function(e2) { if (success) { throw e2; } assert.strictEqual(e.message, e2.message); })})('
445445
],
446446
[
447447
/tests\(\).then\(common\.mustCall\(\)\)/,

0 commit comments

Comments
 (0)