diff --git a/test/cache-map.test.js b/test/cache-map.test.js index 5c9fb81569..9db306772b 100644 --- a/test/cache-map.test.js +++ b/test/cache-map.test.js @@ -31,7 +31,7 @@ function testConstructor() { [true, () => new CacheMap(-1)], [true, () => new CacheMap(1.5)], [true, () => new CacheMap(Number.NaN)], - [true, () => new CacheMap(Number.POSITIVE_INFINITY)], + [true, () => new CacheMap(Number.POSITIVE_INFINITY)] ]; for (const [throws, create] of data) {