]> Cypherpunks repositories - gostls13.git/commitdiff
testing/fstest: fix typo in error message
authorDrGo <salah.mahmud@gmail.com>
Mon, 4 Jan 2021 11:26:46 +0000 (11:26 +0000)
committerTobias Klauser <tobias.klauser@gmail.com>
Mon, 4 Jan 2021 12:06:08 +0000 (12:06 +0000)
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>
src/testing/fstest/testfs.go

index 2602bdf0cc283cd8db007fdc1d6f6514f3647766..4da6f04eed5d59d7d09998899e8f0189ccfae2e6 100644 (file)
@@ -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