Skip to content

Commit 4254978

Browse files
authored
fix: occured -> occurred (#107)
1 parent 1897e2f commit 4254978

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ suite('include-fragment-element', function () {
540540
}, 100)
541541

542542
await when(div.firstChild, 'load')
543-
assert.ok(!failed, 'Load occured too early')
543+
assert.ok(!failed, 'Load occurred too early')
544544
})
545545

546546
test('loading=lazy does not observably change during load cycle', async function () {
@@ -568,7 +568,7 @@ suite('include-fragment-element', function () {
568568
}, 100)
569569

570570
await when(div.firstChild, 'load')
571-
assert.ok(!failed, 'Load occured too early')
571+
assert.ok(!failed, 'Load occurred too early')
572572
})
573573

574574
test('loading=lazy wont load twice even if load is manually called', async function () {
@@ -587,7 +587,7 @@ suite('include-fragment-element', function () {
587587

588588
await load
589589
await replacedPromise
590-
assert.equal(loadCount, 1, 'Load occured too many times')
590+
assert.equal(loadCount, 1, 'Load occurred too many times')
591591
assert.equal(document.querySelector('include-fragment'), null)
592592
assert.equal(document.querySelector('#replaced').textContent, 'hello')
593593
})
@@ -606,7 +606,7 @@ suite('include-fragment-element', function () {
606606
}, 0)
607607

608608
await when(div.firstChild, 'include-fragment-replaced')
609-
assert.equal(loadCount, 1, 'Load occured too many times')
609+
assert.equal(loadCount, 1, 'Load occurred too many times')
610610
assert.equal(document.querySelector('include-fragment'), null)
611611
assert.equal(document.querySelector('#replaced').textContent, 'hello')
612612
})

0 commit comments

Comments
 (0)