aboutsummaryrefslogtreecommitdiffstats
path: root/clients/http/common_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'clients/http/common_test.go')
-rw-r--r--clients/http/common_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/clients/http/common_test.go b/clients/http/common_test.go
index d3e2c9d..287897d 100644
--- a/clients/http/common_test.go
+++ b/clients/http/common_test.go
@@ -28,11 +28,11 @@ func (s *SuiteCommon) TestNewHTTPError200(c *C) {
}
func (s *SuiteCommon) TestNewHTTPError401(c *C) {
- s.testNewHTTPError(c, 401, "permanent client error.*not found.*")
+ s.testNewHTTPError(c, 401, "authorization required")
}
func (s *SuiteCommon) TestNewHTTPError404(c *C) {
- s.testNewHTTPError(c, 404, "permanent client error.*not found.*")
+ s.testNewHTTPError(c, 404, "repository not found")
}
func (s *SuiteCommon) TestNewHTTPError40x(c *C) {