this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

cmd/cue: add a test case for issue 4286

This should give a useful error message rather than panic.

For #4286.

Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: I556e05623d5a232f9cdef775052d6f292c690a8c
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1232121
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
Reviewed-by: Matthew Sackman <matthew@cue.works>

+4
+4
cmd/cue/cmd/testdata/script/get_crd_errors.txtar
··· 23 23 ! exists nonexistent.com 24 24 ! exists example.com 25 25 26 + # Test CRD with the group as the argument rather than the file 27 + ! exec cue get crd example.com 28 + stderr 'panic: runtime error: invalid memory address or nil pointer dereference' 29 + 26 30 -- sample-crd.yaml -- 27 31 apiVersion: apiextensions.k8s.io/v1 28 32 kind: CustomResourceDefinition