Commit f9eaa9a2 authored by Geoff Simmons's avatar Geoff Simmons

Correct usage of formatted output in a unit test.

parent cc00e983
......@@ -650,7 +650,7 @@ func TestGetPem(t *testing.T) {
"got %s want %s", problem.Title, errPemNotFound.Title)
}
if !strings.Contains(problem.Detail, "version=0815") {
t.Error("GET /v1/pems/ns1/cafe?version problem detail got %s "+
t.Errorf("GET /v1/pems/ns1/cafe?version problem detail got %s "+
"want contains version=0815", problem.Detail)
}
if problem.Status != http.StatusNotFound {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment