# Test that we get expected error when we ask cue get go to get
# a Go package that cannot be resolved.

! exec cue get go k8s.io/api/apps/v1
stderr '\Qno required module provides package k8s.io/api/apps/v1'

-- go.mod --
module mod.test/blah

go 1.14
