Skip to content

Commit

Permalink
Fix output name in test
Browse files Browse the repository at this point in the history
  • Loading branch information
klauspost committed Mar 8, 2024
1 parent 0b60023 commit faba504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zstd/encoder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ func TestEncoder_EncodeRLE(t *testing.T) {
t.Error(err, len(decoded))
}
if !bytes.Equal(decoded, in) {
os.WriteFile("testdata/"+t.Name()+"-Mark.Twain-Tom.Sawyer.txt.got", decoded, os.ModePerm)
os.WriteFile("testdata/"+t.Name()+"-RLE.got", decoded, os.ModePerm)
t.Fatal("Decoded does not match")
}
t.Log("Encoded content matched")
Expand Down

0 comments on commit faba504

Please sign in to comment.