chore(repo): reinitialize repository

This commit is contained in:
2026-03-18 11:29:54 +08:00
commit 24871e213a
288 changed files with 44369 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
package slug
import "testing"
func TestNormalize(t *testing.T) {
got := Normalize(" Product Prompt V2 / Main ")
if got != "product-prompt-v2-main" {
t.Fatalf("Normalize() = %q", got)
}
}
func TestNormalizeWithLimit(t *testing.T) {
got := NormalizeWithLimit("abcdefghijklmnopqrstuvwxyz", 10)
if got != "abcdefghij" {
t.Fatalf("NormalizeWithLimit() = %q", got)
}
}