# Check that the error message when there's a bad module
# path includes the path to the offending file (issue 3259)

! exec cue mod get example.com/foo
stderr 'invalid module file .*module\.cue: empty module path'
-- cue.mod/module.cue --
module: ""
language: version: "v0.9.2"

