ran "gofmt -s -w ." to format the code

This commit is contained in:
JupiterRider committed 2025-08-20 19:41:26 +02:00
1 parent 8ca4cb8dcb
commit b49a631e0b
18 files changed
+205 -205

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())
}