diff options
-rw-r--r-- | test/common/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/common/index.js b/test/common/index.js index 1a444f0dbd..eaae0b53ac 100644 --- a/test/common/index.js +++ b/test/common/index.js @@ -631,7 +631,7 @@ function expectWarning(name, expected) { // Remove a warning message after it is seen so that we guarantee that we // get each message only once. map.delete(expected); - }, map.size); + }, expected.length); } function expectWarningByName(name, expected, code) { |