diff --git a/translations/th/th_test.go b/translations/th/th_test.go index 6baf72f6f..e0fc7a639 100644 --- a/translations/th/th_test.go +++ b/translations/th/th_test.go @@ -647,6 +647,34 @@ func TestTranslations(t *testing.T) { ns: "Test.CveString", expected: "CveString ต้องเป็นรูปแบบ cve", }, + { + ns: "Test.StrPtrMinLen", + expected: "StrPtrMinLen ต้องมีความยาวอย่างน้อย 10 ตัวอักษร", + }, + { + ns: "Test.StrPtrMaxLen", + expected: "StrPtrMaxLen ต้องมีความยาวไม่เกิน 1 ตัวอักษร", + }, + { + ns: "Test.StrPtrLen", + expected: "StrPtrLen ต้องมีความยาว 2 ตัวอักษร", + }, + { + ns: "Test.StrPtrLt", + expected: "StrPtrLt ต้องมีความยาวน้อยกว่า 1 ตัวอักษร", + }, + { + ns: "Test.StrPtrLte", + expected: "StrPtrLte ต้องมีความยาวไม่เกิน 1 ตัวอักษร", + }, + { + ns: "Test.StrPtrGt", + expected: "StrPtrGt ต้องมีความยาวมากกว่า 10 ตัวอักษร", + }, + { + ns: "Test.StrPtrGte", + expected: "StrPtrGte ต้องมีความยาวอย่างน้อย 10 ตัวอักษร", + }, } for _, tt := range tests {