mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
Print url.URLs correctly in tests
This commit is contained in:
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…
Reference in a new issue