...
1-- test0/initial-requirements --
2main.test@v0 example.com@v0.0.1
3-- test0/root-packages --
4main.test@v0:main
5example.com/blah
6-- test0/default-major-versions --
7example.com@v0
8-- test0/want --
9main.test@v0:main
10 flags: inAll,isRoot,fromRoot,importsLoaded
11 mod: main.test@v0
12 location: .
13 imports:
14 example.com/blah
15example.com/blah
16 flags: inAll,isRoot,fromRoot,importsLoaded
17 mod: example.com@v0.0.1
18 location: _registry/example.com_v0.0.1/blah
19 imports:
20 foo.com/bar/hello/goodbye@v0
21foo.com/bar/hello/goodbye@v0
22 flags: inAll,isRoot,fromRoot
23 error: cannot fetch foo.com/bar/hello@v0.2.3: module foo.com/bar/hello@v0.2.3 not found at _registry/foo.com_bar_hello_v0.2.3
24 missing: false
25-- main.cue --
26package main
27import "example.com/blah"
28
29-- _registry/example.com_v0.0.1/cue.mod/module.cue --
30module: "example.com@v0"
31deps: {
32 "foo.com/bar/hello@v0": v: "v0.2.3"
33 "bar.com@v0": v: "v0.5.0"
34}
35-- _registry/example.com_v0.0.1/blah/blah.cue --
36package blah
37import _ "foo.com/bar/hello/goodbye@v0"
View as plain text