From c61db30f9fa3f9bb6affe2703ba715e33b3a29c5 Mon Sep 17 00:00:00 2001 From: Andrei Marcu Date: Thu, 12 Mar 2020 13:44:28 -0700 Subject: [PATCH] Tests: Fix image torrent test --- torrent_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torrent_test.go b/torrent_test.go index 1d227fd..f14c613 100644 --- a/torrent_test.go +++ b/torrent_test.go @@ -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") } }