diff options
author | Josh Bleecher Snyder <josharian@gmail.com> | 2021-06-15 16:01:25 -0700 |
---|---|---|
committer | Josh Bleecher Snyder <josharian@gmail.com> | 2021-08-16 22:27:47 +0000 |
commit | 213e157d3aad3fbb289d184a5cb4b18258162634 (patch) | |
tree | 593edfd34313a72560331bc08029c6a49099892d /misc | |
parent | c04a32e59a001f0490082619bbe6a36e1e23ef99 (diff) | |
download | go-213e157d3aad3fbb289d184a5cb4b18258162634.tar.gz go-213e157d3aad3fbb289d184a5cb4b18258162634.zip |
testing/fstest: allow specifying file for "." in MapFS
Prior to this commit, specifying a file for "." in MapFS
created an invalid fs.FS and caused infinite recursion in fs.WalkDir.
Fixes #46776
Change-Id: Ia9e4ae1125355a74dba9ee6b36451b7fda75a862
Reviewed-on: https://go-review.googlesource.com/c/go/+/328409
Trust: Josh Bleecher Snyder <josharian@gmail.com>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions