Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/cueexperiment: remove yamlv3experiment
It was always on and deprecated in v0.11, slated for removal in v0.12. Now that we're on our way to v0.12.0-alpha.1, remove it. Simplify cueexperiment.TestInit once again, matching godebug.TestInit. envflag is now its own package with enough tests covering edge cases such as non-zero default values and deprecated flags, so there is no need to test those again here. Moreover, we add, change, and remove experiments every release, so having to update the test code as well adds unnecessary churn. If we want an end-to-end test to ensure that each of the CUE_EXPERIMENT or CUE_DEBUG flags work as expected from cmd/cue and the Go API, we should write those tests as proper integration tests anyway, like we did for CUE_DEBUG=sortfields in https://cuelang.org/cl/1204654. Signed-off-by: Daniel Martí <mvdan@mvdan.cc> Change-Id: Ib064782c12f30ba29b92cac92ab5850a1a95b104 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1204666 TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com> Reviewed-by: Roger Peppe <rogpeppe@gmail.com>
- Loading branch information