mirror of
https://github.com/golang/go.git
synced 2025-11-11 22:21:06 +00:00
testing/fstest: fix typo in error message
Change-Id: Iac59f5271c79c46b39733fdf0eb4bf9b0fc0bdca
GitHub-Last-Rev: 03f96e32a8
GitHub-Pull-Request: golang/go#43450
Reviewed-on: https://go-review.googlesource.com/c/go/+/280953
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
3dd5867605
commit
b01fb2af9e
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ func (t *fsTester) openDir(dir string) fs.ReadDirFile {
|
||||||
d, ok := f.(fs.ReadDirFile)
|
d, ok := f.(fs.ReadDirFile)
|
||||||
if !ok {
|
if !ok {
|
||||||
f.Close()
|
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 nil
|
||||||
}
|
}
|
||||||
return d
|
return d
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue