Skip to content

Commit

Permalink
test: Skip if no enwik9
Browse files Browse the repository at this point in the history
  • Loading branch information
klauspost committed Feb 7, 2020
1 parent b7ccab8 commit b9d5dc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zstd/snappy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ func BenchmarkSnappy_ConvertXML(b *testing.B) {
func BenchmarkSnappy_Enwik9(b *testing.B) {
f, err := os.Open("testdata/enwik9.zst")
if err != nil {
b.Fatal(err)
b.Skip(err)
return
}
dec, err := NewReader(f)
if err != nil {
Expand Down

0 comments on commit b9d5dc7

Please sign in to comment.