(adapted4debian) ran "gofmt -s -w ." to format the code

This commit is contained in:
JupiterRider authored and André Roth committed 2026-06-19 22:20:45 +02:00
1 parent b560a8b146
commit 45fe4a58ca
17 files changed
+179 -178

No files matched your search

+2 -2
View File
@@ -34,7 +34,7 @@ func (s *UtilsSuite) TestDirIsAccessibleNotExist(c *C) {
func (s *UtilsSuite) TestDirIsAccessibleNotAccessible(c *C) {
accessible := DirIsAccessible(s.tempfile.Name())
if accessible == nil {
c.Fatalf("Test dir should not be accessible: %s", s.tempfile.Name())
}
c.Fatalf("Test dir should not be accessible: %s", s.tempfile.Name())
}
c.Check(accessible.Error(), Equals, fmt.Errorf("'%s' is inaccessible, check access rights", s.tempfile.Name()).Error())
}