Skip to content

Commit

Permalink
parallelize test
Browse files Browse the repository at this point in the history
  • Loading branch information
logica0419 committed Dec 10, 2023
1 parent 9e684a5 commit cebe6bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions utils/imaging/gif_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ func TestGifToBytesReader(t *testing.T) {
tests := []string{"cube.gif", "miku.gif", "parapara.gif", "miku2.gif", "rabbit.gif"}

for _, tt := range tests {
tt := tt

t.Run(tt, func(t *testing.T) {
t.Parallel()

f, err := gif.DecodeAll(testutils.MustOpenGif(tt))
assert.Nil(t, err)

Expand Down

0 comments on commit cebe6bd

Please sign in to comment.