Skip to content

Commit d1b827a

Browse files
author
y.li
committed
add parallel
Signed-off-by: y.li <[email protected]>
1 parent 4efae16 commit d1b827a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/formatter/formatter_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import (
2525

2626
func TestTimeSinceInHuman(t *testing.T) {
2727
now := time.Now()
28+
t.Parallel()
2829

2930
tests := []struct {
3031
name string
@@ -80,6 +81,7 @@ func TestTimeSinceInHuman(t *testing.T) {
8081

8182
for _, tt := range tests {
8283
t.Run(tt.name, func(t *testing.T) {
84+
t.Parallel()
8385
result := TimeSinceInHuman(tt.input)
8486
assert.Equal(t, tt.expected, result)
8587
})

0 commit comments

Comments
 (0)