# Test that a simple package with one possible candidate resolves OK.
-- tests/found/package --
foo.com/bar@v0.0.2
-- tests/found/want --
module: foo.com@v0.0.2
loc: bar
-- tests/not-found/package --
foo.com/bar@v0.0.3
-- tests/not-found/want --
ERROR: cannot find module providing package foo.com/bar@v0.0.3
-- _registry/foo.com_v0.0.2/cue.mod/module.cue --
module: "foo.com@v0"
language: version: "v0.8.0"

-- _registry/foo.com_v0.0.2/bar/x.cue --
package bar
