cue/interpreter: move test helpers to the right file
So that the test helper funcs are not unused in the default build,
as they are only used by exe_test.go with -tags=cuewasm.
Updates #3335.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: Iae13afa9164afa331801a9df5d76fe7a6dbfc6e7
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1202601
Reviewed-by: Roger Peppe <rogpeppe@gmail.com>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>