Skip to content

Fix typo from occured to occurred#107

Merged
joshblack merged 1 commit into
github:mainfrom
MaxFork:max-updates-typo-mistake-occured-to-occurred
May 16, 2025
Merged

Fix typo from occured to occurred#107
joshblack merged 1 commit into
github:mainfrom
MaxFork:max-updates-typo-mistake-occured-to-occurred

Conversation

@BaseMax

@BaseMax BaseMax commented May 13, 2025

Copy link
Copy Markdown
Contributor

Fix typo from occured to occurred

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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.

Comment thread test/test.js

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

Copilot AI May 13, 2025

Copy link

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.
Comment thread test/test.js

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

Copilot AI May 13, 2025

Copy link

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.
Comment thread test/test.js
await load
await replacedPromise
assert.equal(loadCount, 1, 'Load occured too many times')
assert.equal(loadCount, 1, 'Load occurred too many times')

Copilot AI May 13, 2025

Copy link

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.
Comment thread test/test.js

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')

Copilot AI May 13, 2025

Copy link

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.

@joshblack joshblack left a comment

Copy link
Copy Markdown

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.

3 participants