13146: Add "include" parameter and rename return field to "included"
[arvados.git] / services / arv-git-httpd / gitolite_test.go
index 38ff2309c1d2a3a57def17ac588276dab204e265..0656cbf89ad34661d08bb467c96b2be152a7908f 100644 (file)
@@ -1,3 +1,7 @@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: AGPL-3.0
+
 package main
 
 import (
@@ -103,5 +107,5 @@ func (s *GitoliteSuite) TestPush(c *check.C) {
 
 func (s *GitoliteSuite) TestPushUnwritable(c *check.C) {
        err := s.RunGit(c, spectatorToken, "push", "active/foo.git", "master:gitolite-push-fail")
-       c.Check(err, check.ErrorMatches, `.*HTTP code = 403.*`)
+       c.Check(err, check.ErrorMatches, `.*HTTP (code = )?403.*`)
 }