Skip to content

Fix typo from occured to occurred #107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

BaseMax
Copy link
Contributor

@BaseMax BaseMax commented May 13, 2025

Fix typo from occured to occurred

@Copilot Copilot AI review requested due to automatic review settings May 13, 2025 18:52
@BaseMax BaseMax requested a review from a team as a code owner May 13, 2025 18:52
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a typo in error messages within the test suite, correcting "occured" to "occurred".

  • Updated typo in assert messages in multiple test cases.

@@ -540,7 +540,7 @@ suite('include-fragment-element', function () {
}, 100)

await when(div.firstChild, 'load')
assert.ok(!failed, 'Load occured too early')
assert.ok(!failed, 'Load occurred too early')
Copy link
Preview

Copilot AI May 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The typo in the error message has been corrected from 'occured' to 'occurred'.

Copilot uses AI. Check for mistakes.

@@ -568,7 +568,7 @@ suite('include-fragment-element', function () {
}, 100)

await when(div.firstChild, 'load')
assert.ok(!failed, 'Load occured too early')
assert.ok(!failed, 'Load occurred too early')
Copy link
Preview

Copilot AI May 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The typo in the error message has been corrected from 'occured' to 'occurred'.

Copilot uses AI. Check for mistakes.

@@ -587,7 +587,7 @@ suite('include-fragment-element', function () {

await load
await replacedPromise
assert.equal(loadCount, 1, 'Load occured too many times')
assert.equal(loadCount, 1, 'Load occurred too many times')
Copy link
Preview

Copilot AI May 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The typo in the error message has been corrected from 'occured' to 'occurred'.

Copilot uses AI. Check for mistakes.

@@ -606,7 +606,7 @@ suite('include-fragment-element', function () {
}, 0)

await when(div.firstChild, 'include-fragment-replaced')
assert.equal(loadCount, 1, 'Load occured too many times')
assert.equal(loadCount, 1, 'Load occurred too many times')
Copy link
Preview

Copilot AI May 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The typo in the error message has been corrected from 'occured' to 'occurred'.

Copilot uses AI. Check for mistakes.

Copy link

@joshblack joshblack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this!

@joshblack joshblack merged commit 4254978 into github:main May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants