fix format of forbidden messages

This commit is contained in:
Di Xu
2017-09-05 14:11:51 +08:00
parent 52ac2652bc
commit 95738d5a0e
3 changed files with 10 additions and 10 deletions

View File

@@ -171,7 +171,7 @@ func TestStatus(t *testing.T) {
statusCode: http.StatusForbidden,
reqPath: "/apis",
reason: "Forbidden",
message: `forbidden: User "" cannot get path "/apis".: "Everything is forbidden."`,
message: `forbidden: User "" cannot get path "/apis": Everything is forbidden.`,
},
{
name: "401",