Skip to content

fix: resolve misspell lint failure in stateless cancellation test#203

Merged
jesse-engineer merged 1 commit into
ThinkInAIXYZ:mainfrom
groundcover-com:yosi/fix-misspell-stateless-cancel-test
Jun 15, 2026
Merged

fix: resolve misspell lint failure in stateless cancellation test#203
jesse-engineer merged 1 commit into
ThinkInAIXYZ:mainfrom
groundcover-com:yosi/fix-misspell-stateless-cancel-test

Conversation

@yosizelensky

Copy link
Copy Markdown
Contributor

Follow-up to #202, which introduced a misspell lint failure on main:

server/cancelled_stateless_test.go:27:23: `cancelled` is a misspelling of `canceled` (misspell)

The misspell linter flags the British spelling "cancelled" in string literals (it wants the US "canceled" — the same reason NotificationCancelled carries a //nolint:misspell). This reworks the test's failure message to use "cancellation", which the linter accepts, rather than adding a nolint.

No behavior change; go test ./server/... passes and misspell is clean.

🤖 Generated with Claude Code

The misspell linter rejects the British "cancelled" in string literals
(it wants the US "canceled"). Reword the test's failure message to use
"cancellation", which the linter accepts, fixing the lint failure
introduced by ThinkInAIXYZ#202.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@jesse-engineer jesse-engineer merged commit f02ba7b into ThinkInAIXYZ:main Jun 15, 2026
6 checks passed
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