diff options
Diffstat (limited to 'repository_test.go')
-rw-r--r-- | repository_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/repository_test.go b/repository_test.go index 0dd9f2d..fc98fbc 100644 --- a/repository_test.go +++ b/repository_test.go @@ -1720,7 +1720,7 @@ func (s *RepositorySuite) TestLogPathRegexpWithError(c *C) { } func (s *RepositorySuite) TestLogPathFilterRegexp(c *C) { - pathRE := regexp.MustCompile(".*\\.go") + pathRE := regexp.MustCompile(`.*\.go`) pathIter := func(path string) bool { return pathRE.MatchString(path) } |