Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Change-Id: I43ed4a3ce5c35c33a9256fa0af3304feb79f233c Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1197336 TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]> Reviewed-by: Roger Peppe <[email protected]>
- Loading branch information