cmd/cue: better test for import --recursive
This change just changes the `import --recursive` test to make it
more comprehensive and to illustrate current behaviour before
changing it to fix https://github.com/cue-lang/cue/issues/1443.
The test is made more specific to the functionality being tested - other
tests, (for example `import_context.txt`) already check the JSONL functionality.
The planned fix will only allow YAML if it contains a newline,
to avoid false positives due to the overly-permissive YAML
syntax, so we include tests to illustrate current behaviour
in these cases.
Change-Id: I2f9fb9127885693fcae41574c33607102a3cdee6
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/536901
Unity-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Marcel van Lohuizen <mpvl@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>