cmd/cue: add test case for embedding of CUE file type files
For the initial implementation of embed we do not want to support
embedding of the CUE file type.
However the implementation currently allows it.
Ahead of fixing issue #3258 in a later CL to remove support for the CUE
file type, we add a test in embed_err.txtar. The test reflects the
current behaviour whereby a .cue file (or a file with an explicit CUE
file type) is not an error. This bug is fixed (and the test expectation
updated) in a later CL.
For #3258.
Signed-off-by: Paul Jolly <paul@myitcv.io>
Change-Id: I43ed4a3ce5c35c33a9256fa0af3304feb79f233c
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1197336
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
Reviewed-by: Roger Peppe <rogpeppe@gmail.com>