@@ -10,6 +10,8 @@ import (
10
10
)
11
11
12
12
func TestCompare (t * testing.T ) {
13
+ t .Parallel ()
14
+
13
15
type customString string
14
16
type customInt int
15
17
type customInt8 int8
@@ -127,6 +129,8 @@ func callerName(skip int) string {
127
129
}
128
130
129
131
func TestGreater (t * testing.T ) {
132
+ t .Parallel ()
133
+
130
134
mockT := new (testing.T )
131
135
132
136
if ! Greater (mockT , 2 , 1 ) {
@@ -171,6 +175,8 @@ func TestGreater(t *testing.T) {
171
175
}
172
176
173
177
func TestGreaterOrEqual (t * testing.T ) {
178
+ t .Parallel ()
179
+
174
180
mockT := new (testing.T )
175
181
176
182
if ! GreaterOrEqual (mockT , 2 , 1 ) {
@@ -215,6 +221,8 @@ func TestGreaterOrEqual(t *testing.T) {
215
221
}
216
222
217
223
func TestLess (t * testing.T ) {
224
+ t .Parallel ()
225
+
218
226
mockT := new (testing.T )
219
227
220
228
if ! Less (mockT , 1 , 2 ) {
@@ -259,6 +267,8 @@ func TestLess(t *testing.T) {
259
267
}
260
268
261
269
func TestLessOrEqual (t * testing.T ) {
270
+ t .Parallel ()
271
+
262
272
mockT := new (testing.T )
263
273
264
274
if ! LessOrEqual (mockT , 1 , 2 ) {
@@ -303,6 +313,8 @@ func TestLessOrEqual(t *testing.T) {
303
313
}
304
314
305
315
func TestPositive (t * testing.T ) {
316
+ t .Parallel ()
317
+
306
318
mockT := new (testing.T )
307
319
308
320
if ! Positive (mockT , 1 ) {
@@ -342,6 +354,8 @@ func TestPositive(t *testing.T) {
342
354
}
343
355
344
356
func TestNegative (t * testing.T ) {
357
+ t .Parallel ()
358
+
345
359
mockT := new (testing.T )
346
360
347
361
if ! Negative (mockT , - 1 ) {
@@ -381,6 +395,8 @@ func TestNegative(t *testing.T) {
381
395
}
382
396
383
397
func Test_compareTwoValuesDifferentValuesTypes (t * testing.T ) {
398
+ t .Parallel ()
399
+
384
400
mockT := new (testing.T )
385
401
386
402
for _ , currCase := range []struct {
@@ -399,6 +415,8 @@ func Test_compareTwoValuesDifferentValuesTypes(t *testing.T) {
399
415
}
400
416
401
417
func Test_compareTwoValuesNotComparableValues (t * testing.T ) {
418
+ t .Parallel ()
419
+
402
420
mockT := new (testing.T )
403
421
404
422
type CompareStruct struct {
@@ -418,6 +436,8 @@ func Test_compareTwoValuesNotComparableValues(t *testing.T) {
418
436
}
419
437
420
438
func Test_compareTwoValuesCorrectCompareResult (t * testing.T ) {
439
+ t .Parallel ()
440
+
421
441
mockT := new (testing.T )
422
442
423
443
for _ , currCase := range []struct {
@@ -438,6 +458,8 @@ func Test_compareTwoValuesCorrectCompareResult(t *testing.T) {
438
458
}
439
459
440
460
func Test_containsValue (t * testing.T ) {
461
+ t .Parallel ()
462
+
441
463
for _ , currCase := range []struct {
442
464
values []compareResult
443
465
value compareResult
0 commit comments