apply go fix for Go 1.26

This applies the `go fix` recommendations for go1.26
This commit is contained in:
Wade Simmons
2026-09-01 11:39:02 -04:00
parent dd8f660c0a
commit ae0fa0f2af
4 changed files with 8 additions and 18 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ func TestConnectionState_NextMessageCounter(t *testing.T) {
assert.Equal(t, RejectAfterMessages, cs.messageCounter.Load())
// Continued send attempts stay refused and the counter never wraps
for i := 0; i < 10; i++ {
for range 10 {
_, ok = cs.NextMessageCounter()
assert.False(t, ok)
}