Skip to content

Commit b01fb2a

Browse files
DrGotklauser
authored andcommitted
testing/fstest: fix typo in error message
Change-Id: Iac59f5271c79c46b39733fdf0eb4bf9b0fc0bdca GitHub-Last-Rev: 03f96e3 GitHub-Pull-Request: #43450 Reviewed-on: https://go-review.googlesource.com/c/go/+/280953 Trust: Tobias Klauser <[email protected]> Run-TryBot: Tobias Klauser <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Tobias Klauser <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent 3dd5867 commit b01fb2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/testing/fstest/testfs.go

+1-1
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)