@@ -67,6 +67,7 @@ var titleTestCases = testcases{
6767func TestToTitle (t * testing.T ) {
6868 for _ , test := range titleTestCases {
6969 t .Run (test .input , func (t * testing.T ) {
70+ t .Parallel ()
7071 output := caps .ToTitle (test .input , test .opts ... )
7172 if output != test .expected {
7273 t .Errorf ("expected \" %s\" , got \" %s\" " , test .expected , output )
@@ -76,12 +77,14 @@ func TestToTitle(t *testing.T) {
7677
7778 for _ , test := range titleTestCases {
7879 t .Run (test .input , func (t * testing.T ) {
80+ t .Parallel ()
7981 output := caps .ToTitle (test .input , test .opts ... )
8082 if output != test .expected {
8183 t .Errorf ("expected \" %s\" , got \" %s\" " , test .expected , output )
8284 }
8385 })
8486 t .Run ("Caps::" + test .input , func (t * testing.T ) {
87+ t .Parallel ()
8588 c := caps .New (test .opts .toCapsOpts ())
8689 output := c .ToTitle (test .input )
8790 if output != test .expected {
@@ -110,12 +113,14 @@ var camelTestCases = testcases{
110113func TestToCamel (t * testing.T ) {
111114 for _ , test := range camelTestCases {
112115 t .Run (test .input , func (t * testing.T ) {
116+ t .Parallel ()
113117 output := caps .ToCamel (test .input , test .opts ... )
114118 if output != test .expected {
115119 t .Errorf ("expected \" %s\" , got \" %s\" " , test .expected , output )
116120 }
117121 })
118122 t .Run ("Caps::" + test .input , func (t * testing.T ) {
123+ t .Parallel ()
119124 c := caps .New (test .opts .toCapsOpts ())
120125 output := c .ToCamel (test .input )
121126 if output != test .expected {
@@ -145,12 +150,14 @@ var lowerCamelTestCases = testcases{
145150func TestToLowerCamel (t * testing.T ) {
146151 for _ , test := range lowerCamelTestCases {
147152 t .Run (test .input , func (t * testing.T ) {
153+ t .Parallel ()
148154 output := caps .ToLowerCamel (test .input , test .opts ... )
149155 if output != test .expected {
150156 t .Errorf ("expected \" %s\" , got \" %s\" " , test .expected , output )
151157 }
152158 })
153159 t .Run ("Caps::" + test .input , func (t * testing.T ) {
160+ t .Parallel ()
154161 c := caps .New (test .opts .toCapsOpts ())
155162 output := c .ToLowerCamel (test .input )
156163 if output != test .expected {
@@ -179,12 +186,14 @@ var kebabTestCases = testcases{
179186func TestToKebab (t * testing.T ) {
180187 for _ , test := range kebabTestCases {
181188 t .Run (test .input , func (t * testing.T ) {
189+ t .Parallel ()
182190 output := caps .ToKebab (test .input , test .opts ... )
183191 if output != test .expected {
184192 t .Errorf ("expected \" %s\" , got \" %s\" " , test .expected , output )
185193 }
186194 })
187195 t .Run ("Caps::" + test .input , func (t * testing.T ) {
196+ t .Parallel ()
188197 c := caps .New (test .opts .toCapsOpts ())
189198 output := c .ToKebab (test .input )
190199 if output != test .expected {
@@ -213,12 +222,14 @@ var screamingKebabTestCases = testcases{
213222func TestToScreamingKebab (t * testing.T ) {
214223 for _ , test := range screamingKebabTestCases {
215224 t .Run (test .input , func (t * testing.T ) {
225+ t .Parallel ()
216226 output := caps .ToScreamingKebab (test .input , test .opts ... )
217227 if output != test .expected {
218228 t .Errorf ("expected \" %s\" , got \" %s\" " , test .expected , output )
219229 }
220230 })
221231 t .Run ("Caps::" + test .input , func (t * testing.T ) {
232+ t .Parallel ()
222233 c := caps .New (test .opts .toCapsOpts ())
223234 output := c .ToScreamingKebab (test .input )
224235 if output != test .expected {
@@ -247,12 +258,14 @@ var snakeTestCases = testcases{
247258func TestToSnake (t * testing.T ) {
248259 for _ , test := range snakeTestCases {
249260 t .Run (test .input , func (t * testing.T ) {
261+ t .Parallel ()
250262 output := caps .ToSnake (test .input , test .opts ... )
251263 if output != test .expected {
252264 t .Errorf ("expected \" %s\" , got \" %s\" " , test .expected , output )
253265 }
254266 })
255267 t .Run ("Caps::" + test .input , func (t * testing.T ) {
268+ t .Parallel ()
256269 c := caps .New (test .opts .toCapsOpts ())
257270 output := c .ToSnake (test .input )
258271 if output != test .expected {
@@ -281,12 +294,14 @@ var screamingSnakeTestCases = testcases{
281294func TestToScreamingSnake (t * testing.T ) {
282295 for _ , test := range screamingSnakeTestCases {
283296 t .Run (test .input , func (t * testing.T ) {
297+ t .Parallel ()
284298 output := caps .ToScreamingSnake (test .input , test .opts ... )
285299 if output != test .expected {
286300 t .Errorf ("expected \" %s\" , got \" %s\" " , test .expected , output )
287301 }
288302 })
289303 t .Run ("Caps::" + test .input , func (t * testing.T ) {
304+ t .Parallel ()
290305 c := caps .New (test .opts .toCapsOpts ())
291306 output := c .ToScreamingSnake (test .input )
292307 if output != test .expected {
@@ -315,12 +330,14 @@ var dotNotationTestCases = testcases{
315330func TestToDotNotation (t * testing.T ) {
316331 for _ , test := range dotNotationTestCases {
317332 t .Run (test .input , func (t * testing.T ) {
333+ t .Parallel ()
318334 output := caps .ToDotNotation (test .input , test .opts ... )
319335 if output != test .expected {
320336 t .Errorf ("expected \" %s\" , got \" %s\" " , test .expected , output )
321337 }
322338 })
323339 t .Run ("Caps::" + test .input , func (t * testing.T ) {
340+ t .Parallel ()
324341 c := caps .New (test .opts .toCapsOpts ())
325342 output := c .ToDotNotation (test .input )
326343 if output != test .expected {
@@ -349,12 +366,14 @@ var screamingDotNotationTestCases = testcases{
349366func TestToDelimited (t * testing.T ) {
350367 for _ , test := range dotNotationTestCases {
351368 t .Run (test .input , func (t * testing.T ) {
369+ t .Parallel ()
352370 output := caps .ToDelimited (test .input , "." , true , test .opts ... )
353371 if output != test .expected {
354372 t .Errorf ("expected \" %s\" , got \" %s\" " , test .expected , output )
355373 }
356374 })
357375 t .Run ("Caps::" + test .input , func (t * testing.T ) {
376+ t .Parallel ()
358377 c := caps .New (test .opts .toCapsOpts ())
359378 output := c .ToDelimited (test .input , "." , true )
360379 if output != test .expected {
@@ -367,12 +386,14 @@ func TestToDelimited(t *testing.T) {
367386func TestToScreamingDotNotation (t * testing.T ) {
368387 for _ , test := range screamingDotNotationTestCases {
369388 t .Run (test .input , func (t * testing.T ) {
389+ t .Parallel ()
370390 output := caps .ToScreamingDotNotation (test .input , test .opts ... )
371391 if output != test .expected {
372392 t .Errorf ("expected \" %s\" , got \" %s\" " , test .expected , output )
373393 }
374394 })
375395 t .Run ("Caps::" + test .input , func (t * testing.T ) {
396+ t .Parallel ()
376397 c := caps .New (test .opts .toCapsOpts ())
377398 output := c .ToScreamingDotNotation (test .input )
378399 if output != test .expected {
@@ -384,6 +405,7 @@ func TestToScreamingDotNotation(t *testing.T) {
384405
385406func TestCapsAccessors (t * testing.T ) {
386407 t .Run ("ReplaceStyle" , func (t * testing.T ) {
408+ t .Parallel ()
387409 c := caps .New ()
388410 rs := c .ReplaceStyle ()
389411 if rs != caps .ReplaceStyleScreaming {
@@ -400,6 +422,7 @@ func TestCapsAccessors(t *testing.T) {
400422 }
401423 })
402424 t .Run ("NumberRules" , func (t * testing.T ) {
425+ t .Parallel ()
403426 c := caps .New ()
404427 nr := c .NumberRules ()
405428 if nr != nil {
@@ -414,6 +437,7 @@ func TestCapsAccessors(t *testing.T) {
414437 }
415438 })
416439 t .Run ("AllowedSymbols" , func (t * testing.T ) {
440+ t .Parallel ()
417441 c := caps .New ()
418442 as := c .AllowedSymbols ()
419443 if as != "" {
0 commit comments