Print url.URLs correctly in tests

pull/1994/head
Tobias Schmidt 8 years ago
parent 8f3b62bfe4
commit 27074863b4

@ -122,7 +122,7 @@ func TestTargetURL(t *testing.T) {
}
if u := target.URL(); !reflect.DeepEqual(u.String(), expectedURL.String()) {
t.Fatalf("Expected URL %q but got %q", expectedURL, u)
t.Fatalf("Expected URL %q, but got %q", expectedURL.String(), u.String())
}
}

Loading…
Cancel
Save