Исправление работоспособности pre-commit.yaml 2
Some checks failed
Pre-commit / pre-commit (push) Failing after 5m42s

This commit is contained in:
2025-08-26 22:25:03 +03:00
parent aa42ab0607
commit 1089e8a3f3
4 changed files with 13 additions and 10 deletions

View File

@@ -82,6 +82,12 @@ func TestNew(t *testing.T) {
fi, err := os.Stat(dir)
if err != nil {
t.Errorf("stat: expected no error, got %s", err)
return
}
if fi == nil {
t.Errorf("Expected file info to not be nil")
return
}
if !fi.IsDir() {