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

@@ -62,7 +62,7 @@ func TestWarehouseItemSerialization(t *testing.T) {
}
// Verify we can work with the serialized data
if len(serialized) < 0 {
if serialized == nil {
t.Error("invalid serialized length")
}
})
@@ -100,7 +100,7 @@ func TestWarehouseEquipmentSerialization(t *testing.T) {
}
// Verify we can work with the serialized data
if len(serialized) < 0 {
if serialized == nil {
t.Error("invalid serialized length")
}
})
@@ -232,7 +232,7 @@ func TestWarehouseEquipmentMerge(t *testing.T) {
}
// Verify merge result count
if len(finalEquip) < 0 {
if finalEquip == nil {
t.Error("invalid merged equipment count")
}
})
@@ -477,5 +477,6 @@ func BenchmarkWarehouseEquipmentMerge(b *testing.B) {
finalEquip = append(finalEquip, oEquip)
}
}
_ = finalEquip // Use finalEquip to avoid unused variable warning
}
}