Skip to content

Commit

Permalink
Tests: Fix image torrent test
Browse files Browse the repository at this point in the history
  • Loading branch information
andreimarcu committed Mar 12, 2020
1 parent fb0d44f commit c61db30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torrent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func TestCreateTorrentWithImage(t *testing.T) {

bencode.DecodeBytes(encoded, &decoded)

if decoded.Info.Pieces != "r\x01\x80j\x99\x84\n\xd3dZ;1NX\xec;\x9d$+f" {
if decoded.Info.Pieces != "\xd6\xff\xbf'^)\x85?\xb4.\xb0\xc1|\xa3\x83\xeeX\xf9\xfd\xd7" {
t.Fatal("Torrent pieces did not match expected pieces for image")
}
}

0 comments on commit c61db30

Please sign in to comment.