cmd/go/internal/modconv: fix TestConvertLegacyConfig expectations
cmd/go/internal/modconv: fix TestConvertLegacyConfig expectations

It was a bug to find that commit in the Masterminds/semver repo.
It's not part of the main repo but only part of an unmerged pull request.
The code was updated to try not to look at unmerged pull requests,
but the test was not. Worse, whether the code succeeds at not looking
at unmerged pull requests apparently depends on the git version.
Sigh.

Fixes #26754.
Fixes #27043.

Change-Id: Ib9e07f565906de4f1169244911a258396688f14d
Reviewed-on: https://go-review.googlesource.com/129800
Run-TryBot: Russ Cox <5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org>
TryBot-Result: Gobot Gobot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>
Reviewed-by: Brad Fitzpatrick <ae9783c0b0efc69cd85ab025ddd17aa44cdc4aa5@golang.org>

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