Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
anatoly-kussul committed Jan 6, 2025
1 parent cdc336f commit 6298a23
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion shortuuid_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ func TestNewWithNamespace(t *testing.T) {
}
}

if NewWithNamespace("") == NewWithNamespace("") {
u1 := NewWithNamespace("")
u2 := NewWithNamespace("")
if u1 == u2 {
t.Errorf("NewWithNamespace should generate random uuid with empty namespace")
}
}
Expand Down

0 comments on commit 6298a23

Please sign in to comment.