Skip to content

Commit

Permalink
build/test-replacements.js: fix typo. (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored and mcollina committed Oct 24, 2019
1 parent 4ba93f8 commit edd8c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/test-replacements.js
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ module.exports['test-stream-finished.js'] = [
module.exports['test-stream-readable-async-iterators.js'] = [
[
/assert.rejects\(/g,
'(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); })})('
'(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); })})('
],
[
/tests\(\).then\(common\.mustCall\(\)\)/,
Expand Down

0 comments on commit edd8c2d

Please sign in to comment.