테스트 코드 추가2

This commit is contained in:
chan committed 2026-02-19 17:00:39 +09:00
1 parent 05c33249d9
commit 19c67a0d91
3 files changed
+30 -7

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ func TestValidateSlug_Format(t *testing.T) {
{"abc", true},
{"a-b-c", true},
{"123", true},
{"ab", false}, // Too short
{"ab", false}, // Too short
{"-abc", false}, // Starts with hyphen
{"abc-", false}, // Ends with hyphen
{"Abc", true}, // Case insensitive check (converted to lower)