fix tests and lint

This commit is contained in:
André Roth
2024-12-02 22:29:48 +01:00
parent 9d0c7b5ade
commit 4e566b4692
8 changed files with 442 additions and 473 deletions
+1 -1
View File
@@ -84,6 +84,6 @@ func (s *AptlyContextSuite) TestGetPublishedStorageBadFS(c *C) {
// storage never exists.
c.Assert(func() { s.context.GetPublishedStorage("filesystem:fuji") },
FatalErrorPanicMatches,
&FatalError{ReturnCode: 1, Message: fmt.Sprintf("error loading config file %s/.aptly.conf: EOF",
&FatalError{ReturnCode: 1, Message: fmt.Sprintf("error loading config file %s/.aptly.conf: not valid yaml or json",
os.Getenv("HOME"))})
}