Commit 7bd9cde0 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Better failure messages

parent c14ef039
......@@ -32,12 +32,11 @@ func TestParseAuthBackend(t *testing.T) {
}
if result.Host != example.host {
t.Errorf("expected %q, got %q", example.host, result.Host)
t.Errorf("example %q: expected %q, got %q", example.input, example.host, result.Host)
}
if result.Scheme != example.scheme {
t.Errorf("expected %q, got %q", example.scheme, result.Scheme)
t.Errorf("example %q: expected %q, got %q", example.input, example.scheme, result.Scheme)
}
}
}
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