Skip to content

Commit

Permalink
Print url.URLs correctly in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
grobie committed Sep 15, 2016
1 parent 8f3b62b commit 2707486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion retrieval/target_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
}

Expand Down

0 comments on commit 2707486

Please sign in to comment.