From c7195dd37b60dcac1b2d4305e34c9eee064d26ce Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Wed, 17 Apr 2024 03:34:02 +0700 Subject: [PATCH] fix some typos --- CHANGELOG.md | 2 +- tests/unit-global/esnext.math.sum-precise.js | 4 ++-- tests/unit-pure/esnext.math.sum-precise.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e8976e8d483..265845d9dd46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ - `Set.prototype.isDisjointFrom` - Moved to stable ES, [April 2024 TC39 meeting](https://github.com/tc39/proposals/commit/bda5a6bccbaca183e193f9e680889ea5b5462ce4) - Added `es.` namespace modules, `/es/` and `/stable/` namespaces entries -- [Explicit Resource Management stage 3 proposal](https://github.com/tc39/proposal-explicit-resource-management) +- [Explicit Resource Management stage 3 proposal](https://github.com/tc39/proposal-explicit-resource-management): - Some minor updates like [explicit-resource-management/217](https://github.com/tc39/proposal-explicit-resource-management/pull/217) - Added [`Math.sumPrecise` stage 2.7 proposal](https://github.com/tc39/proposal-math-sum/): - Built-ins: diff --git a/tests/unit-global/esnext.math.sum-precise.js b/tests/unit-global/esnext.math.sum-precise.js index 7e50d93ec86c..368f185a3815 100644 --- a/tests/unit-global/esnext.math.sum-precise.js +++ b/tests/unit-global/esnext.math.sum-precise.js @@ -14,8 +14,8 @@ QUnit.test('Math.sumPrecise', assert => { assert.throws(() => sumPrecise(undefined), TypeError, 'undefined'); assert.throws(() => sumPrecise(null), TypeError, 'null'); - assert.throws(() => sumPrecise({ 0: 1 }), TypeError, 'non-iterabls'); - assert.throws(() => sumPrecise(1, 2), TypeError, 'non-iterabls #2'); + assert.throws(() => sumPrecise({ 0: 1 }), TypeError, 'non-iterable'); + assert.throws(() => sumPrecise(1, 2), TypeError, 'non-iterable #2'); assert.throws(() => sumPrecise([1, '2']), TypeError, 'non-number elements'); // Adapted from https://github.com/tc39/test262 diff --git a/tests/unit-pure/esnext.math.sum-precise.js b/tests/unit-pure/esnext.math.sum-precise.js index 16f92c4896ed..3bfb52b99cb0 100644 --- a/tests/unit-pure/esnext.math.sum-precise.js +++ b/tests/unit-pure/esnext.math.sum-precise.js @@ -12,8 +12,8 @@ QUnit.test('Math.sumPrecise', assert => { assert.throws(() => sumPrecise(undefined), TypeError, 'undefined'); assert.throws(() => sumPrecise(null), TypeError, 'null'); - assert.throws(() => sumPrecise({ 0: 1 }), TypeError, 'non-iterabls'); - assert.throws(() => sumPrecise(1, 2), TypeError, 'non-iterabls #2'); + assert.throws(() => sumPrecise({ 0: 1 }), TypeError, 'non-iterable'); + assert.throws(() => sumPrecise(1, 2), TypeError, 'non-iterable #2'); assert.throws(() => sumPrecise([1, '2']), TypeError, 'non-number elements'); // Adapted from https://github.com/tc39/test262