cmd/go: reproduce issue #44497 in TestScript/mod_edit
cmd/go: reproduce issue #44497 in TestScript/mod_edit

For #44497

Change-Id: Ie5285b9c526506b6b1280a590a5dcbee4074f57b
Reviewed-on: https://go-review.googlesource.com/c/go/+/295149
Trust: Bryan C. Mills <1c8aad60184261ccede67f5c63a0d2a3bf3c9ff4@google.com>
Run-TryBot: Bryan C. Mills <1c8aad60184261ccede67f5c63a0d2a3bf3c9ff4@google.com>
TryBot-Result: Go Bot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>
Reviewed-by: Jay Conrod <f3fadaedc813344da5ec13b41e26596889cc5baa@google.com>

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