Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add internal/compress/zstd_option test #621

Merged
merged 2 commits into from
Aug 12, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
apply suggestion
  • Loading branch information
kevindiu committed Aug 12, 2020
commit ea88e77de8522fb9c4475401dc3f19a4501f94e1
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