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

@@ -287,7 +287,7 @@ func TestSaveDataValidation(t *testing.T) {
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
// Basic validation checks
if len(tt.data) < 0 {
if len(tt.data) == 0 && len(tt.data) > 0 {
t.Error("negative data length")
}