Lines Matching refs:tt
99 for _, tt := range caseTests {
100 t.Run(tt.input, func(t *testing.T) {
101 if got := kebabCase(tt.input); got != tt.kebabCase {
102 t.Fatalf("KebabCase(%q) = %q, want %q", tt.input, got, tt.kebabCase)
109 for _, tt := range caseTests {
110 t.Run(tt.input, func(t *testing.T) {
111 if got := snakeCase(tt.input); got != tt.snakeCase {
112 t.Fatalf("SnakeCase(%q) = %q, want %q", tt.input, got, tt.snakeCase)
119 for _, tt := range caseTests {
120 t.Run(tt.input, func(t *testing.T) {
121 if got := titleCase(tt.input); got != tt.titleCase {
122 t.Fatalf("TitleCase(%q) = %q, want %q", tt.input, got, tt.titleCase)
129 for _, tt := range caseTests {
130 t.Run(tt.input, func(t *testing.T) {
131 if got := upperCamelCase(tt.input); got != tt.upperCamelCase {
132 t.Fatalf("upperCamelCase(%q) = %q, want %q", tt.input, got, tt.upperCamelCase)
139 for _, tt := range caseTests {
140 t.Run(tt.input, func(t *testing.T) {
141 if got := lowerCamelCase(tt.input); got != tt.lowerCamelCase {
142 t.Fatalf("lowerCamelCase(%q) = %q, want %q", tt.input, got, tt.lowerCamelCase)
170 for _, tt := range dictTest {
171 got := dict(tt.values...)
172 for k, v := range tt.want {
174 t.Fatalf("dict(%v)[%q] = %q, want %q", tt.values, k, got[k], v)