fix: unit tests

This commit is contained in:
Leon Mika 2026-03-18 22:19:26 +11:00
parent 9efa40879f
commit 740cf8979a
6 changed files with 16 additions and 264 deletions

View file

@ -7,8 +7,8 @@ import (
func TestNewNanoID(t *testing.T) {
id := NewNanoID()
if len(id) != 12 {
t.Errorf("Expected ID length of 12, got %d", len(id))
if len(id) != 16 {
t.Errorf("Expected ID length of 16, got %d", len(id))
}
if id == "" {