dont care buot symlink tbh

main
bel 2025-04-04 21:20:35 -06:00
parent 61569b0515
commit b696251895
1 changed files with 1 additions and 4 deletions

View File

@ -2,7 +2,6 @@ package main_test
import (
"context"
"io/fs"
"io/ioutil"
"os"
"path"
@ -101,10 +100,8 @@ func TestRun(t *testing.T) {
} else {
for _, entry := range entries {
inf := path.Join(ind, entry.Name())
if stat, err := os.Stat(inf); err != nil {
if _, err := os.Stat(inf); err != nil {
t.Errorf("%s no longer in ind: %v", inf, err)
} else if stat.Mode() != fs.ModeSymlink {
t.Errorf("%s not replaced with symlink: %v", inf, stat.Mode())entry.Name(),
}
}
}