diff options
author | DrGo <salah.mahmud@gmail.com> | 2021-01-04 11:26:46 +0000 |
---|---|---|
committer | Tobias Klauser <tobias.klauser@gmail.com> | 2021-01-04 12:06:08 +0000 |
commit | b01fb2af9ed6a3b90dd89d548ceef38b4ec1fc94 (patch) | |
tree | b30ca375c60a42a581c8e6025e0307bf78d2bca0 /src/testing | |
parent | 3dd58676054223962cd915bb0934d1f9f489d4d2 (diff) | |
download | go-b01fb2af9ed6a3b90dd89d548ceef38b4ec1fc94.tar.gz go-b01fb2af9ed6a3b90dd89d548ceef38b4ec1fc94.zip |
testing/fstest: fix typo in error message
Change-Id: Iac59f5271c79c46b39733fdf0eb4bf9b0fc0bdca
GitHub-Last-Rev: 03f96e32a81d1516a9307b6578c930434783e3d3
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>
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/fstest/testfs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/fstest/testfs.go b/src/testing/fstest/testfs.go index 2602bdf0cc..4da6f04eed 100644 --- a/src/testing/fstest/testfs.go +++ b/src/testing/fstest/testfs.go @@ -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 |