Skip to content

Commit

Permalink
apply suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
kevindiu committed Aug 12, 2020
1 parent 376278a commit ea88e77
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions internal/compress/zstd_option_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,9 @@ func TestWithZstdGob(t *testing.T) {
opts: nil,
},
want: want{
obj: func() *zstdCompressor {
c := new(T)
c.gobc = new(gobCompressor)
return c
}(),
obj: &T{
gobc: new(gobCompressor),
},
},
},
}
Expand Down

0 comments on commit ea88e77

Please sign in to comment.