cmd/cue: remove CUE_VERSION_OVERRIDE from testscripts
As described in https://cuelang.org/cl/1195718,
`cue mod tidy` no longer adds or modifies `language.version` in any way,
so the use of CUE_VERSION_OVERRIDE in its tests was pointless now.
The only other use was in a `cue mod init` test that double checked
that the language.version inserted by init was decoupled from CUE's
module version by setting the module version to an empty pseudo-version.
However, this is unnecessary as CUE's own module version is almost never
exactly equal to the current language version, as it would only be the
case when one tests exactly a stable version such as
go test cuelang.org/go@v0.9.0
In practice, we continuously test master and pre-releases,
where the two versions will never be the same.
Keeping CUE_VERSION_OVERRIDE just for that edge case seems unnecessary.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: I47161a3abcc476606b6dfe91177cdf541dd73303
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1195781
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Paul Jolly <paul@myitcv.io>