forked from remote/oauth2
Forgot to collate string.
This commit is contained in:
@@ -8,7 +8,7 @@ func TestError_Generator(t *testing.T) {
|
|||||||
"http:thisIsAPlaceholder",
|
"http:thisIsAPlaceholder",
|
||||||
"The Answer!",
|
"The Answer!",
|
||||||
}
|
}
|
||||||
want := "got error code " + "42" + " from " + "http:thisIsAPlaceholder" + ": " + "The Answer!"
|
want := "got error code 42 from http:thisIsAPlaceholder: The Answer!"
|
||||||
if got := e.Error(); got != want {
|
if got := e.Error(); got != want {
|
||||||
t.Errorf("Got error message %q; want %q", got, want)
|
t.Errorf("Got error message %q; want %q", got, want)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user