path: fix mismatch between error message and corresponding test function
path: fix mismatch between error message and corresponding test function

Change-Id: Ib0ae6e3e678dc7ace21b891e946ffc6bc2a78835
GitHub-Last-Rev: 8c6704ea8c032072ac339dc9d1c6ec78aec15b2a
GitHub-Pull-Request: golang/go#33534
Reviewed-on: https://go-review.googlesource.com/c/go/+/189378
Run-TryBot: Ian Lance Taylor <87e9c6d529889242b7e184afb632328636553ab4@golang.org>
TryBot-Result: Gobot Gobot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>
Reviewed-by: Ian Lance Taylor <87e9c6d529889242b7e184afb632328636553ab4@golang.org>

CAFxX/go,nawawi/go,akutz/go,CAFxX/go,cloudflare/go,akutz/go,golang/go,CAFxX/go,golang/go,cloudflare/go,nawawi/go,CAFxX/go,nawawi/go,nawawi/go,nawawi/go,golang/go,CAFxX/go,akutz/go,golang/go,akutz/go,CAFxX/go,cloudflare/go,golang/go,akutz/go,nawawi/go,golang/go,akutz/go,cloudflare/go,CAFxX/go,cloudflare/go,akutz/go,akutz/go,golang/go,cloudflare/go,golang/go,cloudflare/go,CAFxX/go,nawawi/go,cloudflare/go,nawawi/go