blob: 7d36f10b6cdae1a9b5baebc5348994e8b22d2adb [file] [log] [blame]
! cue eval -e nonExist
cmp stderr expect/nonExist/stderr
cmp stdout expect/nonExist/stdout
# Issue #550: ignore incomplete error in different package
cue eval -e incomplete
cmp stderr expect/incomplete/stderr
cmp stdout expect/incomplete/stdout
# Issue #384
! cue eval foo.bar
cmp stderr expect/foobar/stderr
-- expect/nonExist/stdout --
-- expect/nonExist/stderr --
reference "nonExist" not found:
--expression:1:1
-- expect/incomplete/stdout --
-- expect/incomplete/stderr --
-- expect/foobar/stdout --
-- expect/foobar/stderr --
unknown file extension .bar
-- input/ --
-- partial.cue --
package exitcode
import (
pkg "foo.com/example"
)
a: 1
incomplete: pkg.Settings
foo: bar: "hello"
-- cue.mod/pkg/foo.com/example/example.cue --
package example
Settings: {}
blah: Settings.anyKey