Fix test error message

This commit is contained in:
Peter Borzov 2015-03-22 13:57:57 -04:00
parent 9d725d8caa
commit 74496572dc
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ func TestParseMagnetURI(t *testing.T) {
// Checking if the magnet instance struct is built correctly from parsing
m, err = ParseMagnetURI(exampleMagnetURI)
if err != nil || !reflect.DeepEqual(exampleMagnet, m) {
t.Errorf("ParseMagnetURI(%e) returned %v, expected %v", uri, err)
t.Errorf("ParseMagnetURI(%e) returned %v, expected %v", uri, m, exampleMagnet)
}
// empty string URI case