From 6e0d0436498fa745b806c5498391ce7439ca40f2 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sat, 10 Aug 2019 09:18:18 +0300 Subject: [PATCH] build/test-replacements.js: fix typo. --- build/test-replacements.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/test-replacements.js b/build/test-replacements.js index b9b1fc2396..c1aee8330c 100644 --- a/build/test-replacements.js +++ b/build/test-replacements.js @@ -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\(\)\)/,