mirror of https://github.com/golang/go.git
testing/testfs.go fixed type in error message
This commit is contained in:
parent
95ce805d14
commit
03f96e32a8
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue