From 780a5c98db95a24707b6d4db566ccd4e794126cc Mon Sep 17 00:00:00 2001 From: iyear Date: Tue, 25 Jul 2023 14:09:54 +0800 Subject: [PATCH] fix(tplfunc): strcase package breaking changes --- pkg/tplfunc/string_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/tplfunc/string_test.go b/pkg/tplfunc/string_test.go index e1babacc29..1c6d367a15 100644 --- a/pkg/tplfunc/string_test.go +++ b/pkg/tplfunc/string_test.go @@ -209,7 +209,7 @@ func TestCamelCase(t *testing.T) { }{ {name: "empty", S: "", want: ""}, {name: "lower", S: "test", want: "Test"}, - {name: "upper", S: "TEST", want: "TEST"}, + {name: "upper", S: "TEST", want: "Test"}, {name: "snake", S: "test_test", want: "TestTest"}, {name: "pascal", S: "TestTest", want: "TestTest"}, }