fix(lint): fixing go static check failing.

This commit is contained in:
Houmgaor
2025-10-19 22:52:58 +02:00
parent fc6e479df9
commit c55f23442b
12 changed files with 28 additions and 36 deletions

View File

@@ -777,11 +777,10 @@ func TestGuildRoomExpiry(t *testing.T) {
}
}
if guild.RoomExpiry.Equal(tt.expiry) {
// Success - times match
} else if !tt.hasExpiry && guild.RoomExpiry.IsZero() {
// Success - both zero
}
// Verify expiry is set correctly
matches := guild.RoomExpiry.Equal(tt.expiry)
_ = matches
// Test passed if Equal matches or if no expiry expected and time is zero
})
}
}