1
0
forked from baron/baron-sso

테스트 코드 추가2

This commit is contained in:
2026-02-19 17:00:39 +09:00
parent 05c33249d9
commit 19c67a0d91
3 changed files with 30 additions and 7 deletions

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)