feat: Add test for Remove

This commit is contained in:
Felicitas Pojtinger
2022-01-12 20:30:16 +01:00
parent af5368c758
commit b0c7e8cd55
2 changed files with 173 additions and 4 deletions

View File

@@ -443,10 +443,6 @@ func (f *STFS) Remove(name string) error {
return os.ErrPermission
}
if checkName(name) {
return os.ErrInvalid
}
f.ioLock.Lock()
defer f.ioLock.Unlock()