testing/testfs.go fixed type in error message

This commit is contained in:
DrGo 2020-12-31 15:30:39 -06:00
parent 95ce805d14
commit 03f96e32a8
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ func (t *fsTester) openDir(dir string) fs.ReadDirFile {
d, ok := f.(fs.ReadDirFile)
if !ok {
f.Close()
t.errorf("%s: Open returned File type %T, not a io.ReadDirFile", dir, f)
t.errorf("%s: Open returned File type %T, not a fs.ReadDirFile", dir, f)
return nil
}
return d