Skip to content

Commit cc55b36

Browse files
format test can be parallel.
Signed-off-by: Spencer Schrock <[email protected]>
1 parent 9988559 commit cc55b36

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/internal/scdiff/app/format/format_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import (
2626
)
2727

2828
func TestJSON(t *testing.T) {
29+
t.Parallel()
2930
tests := []struct {
3031
name string
3132
a, b pkg.ScorecardResult
@@ -147,6 +148,7 @@ func TestJSON(t *testing.T) {
147148
for _, tt := range tests {
148149
tt := tt
149150
t.Run(tt.name, func(t *testing.T) {
151+
t.Parallel()
150152
var bufA, bufB bytes.Buffer
151153
err := JSON(&tt.a, &bufA)
152154
if err != nil {

0 commit comments

Comments
 (0)