테스트 코드 추가2
This commit is contained in:
1 parent
05c33249d9
commit
19c67a0d91
3 files changed
+30
-7
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user