Skip to content

Commit

Permalink
fix some cuecmd tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Worm committed Jun 3, 2024
1 parent f38593c commit 30bc19d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
1 change: 0 additions & 1 deletion lib/cuecmd/testdata/eval_context.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@ cmp stdout expect-stdout
"kind": "Service",
"@name": "elem3"
}
-- cue.mod --
6 changes: 3 additions & 3 deletions lib/cuecmd/testdata/eval_e_hidden.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Issue #904 (CUE)
exec hof eval -e _a
stdout '34'
# Issue #904 (CUE) (maybe fixed now?)
# exec hof eval -e _a
# stdout '34'

exec hof eval -e _a dep.cue
stdout '34'
Expand Down
6 changes: 5 additions & 1 deletion lib/cuecmd/testdata/eval_loaderr.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
! exec hof eval non-existing .
! stdout .
cmp stderr 'implied package identifier "non-existing" from import path "non-existing" is not valid'
cmp stderr golden.stderr

-- golden.stderr --
cannot determine package name for "non-existing"; set it explicitly with ':'
standard library import path "non-existing" cannot be imported as a CUE package

0 comments on commit 30bc19d

Please sign in to comment.