Skip to content

Commit 03f96e3

Browse files
committed
testing/testfs.go fixed type in error message
1 parent 95ce805 commit 03f96e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/testing/fstest/testfs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ func (t *fsTester) openDir(dir string) fs.ReadDirFile {
121121
d, ok := f.(fs.ReadDirFile)
122122
if !ok {
123123
f.Close()
124-
t.errorf("%s: Open returned File type %T, not a io.ReadDirFile", dir, f)
124+
t.errorf("%s: Open returned File type %T, not a fs.ReadDirFile", dir, f)
125125
return nil
126126
}
127127
return d

0 commit comments

Comments
 (0)