From 4d31baf667fdeb3e87f47fef7a84fcbe56bd1ae2 Mon Sep 17 00:00:00 2001 From: Yosi Zelensky Date: Mon, 15 Jun 2026 17:48:54 +0300 Subject: [PATCH] fix: resolve misspell lint failure in stateless cancellation test 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 #202. Co-Authored-By: Claude Opus 4.8 (1M context) --- server/cancelled_stateless_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/cancelled_stateless_test.go b/server/cancelled_stateless_test.go index b8011a9..6f927b0 100644 --- a/server/cancelled_stateless_test.go +++ b/server/cancelled_stateless_test.go @@ -24,6 +24,6 @@ func TestStatelessCancelledNotificationIgnored(t *testing.T) { // sessionID "" => no session (stateless); must be ignored, returning nil. if err := s.handleNotifyWithCancelled("", params); err != nil { - t.Fatalf("stateless cancelled notification: got err %v, want nil (ignored)", err) + t.Fatalf("stateless cancellation notification: got err %v, want nil (ignored)", err) } }