mirror of
https://github.com/golang/go
synced 2024-11-17 18:04:48 -07: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
@ -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
Block a user