mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-03-25 17:12:52 +01:00
fix(lint): fixing go static check failing.
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user