...
1# Test that when the module.cue file is differently formatted but
2# contains the expected dependencies, the tidiness check succeeds.
3
4-- want --
5module: "main.org@v0"
6language: {
7 version: "v0.99.99"
8}
9deps: {
10 "example.com@v0": {
11 v: "v0.0.1"
12 }
13}
14-- cue.mod/module.cue --
15module: "main.org@v0"
16language: version: "v0.99.99"
17// With a comment.
18deps: "example.com@v0": v: "v0.0.1"
19
20-- main.cue --
21package main
22import "example.com@v0:main"
23
24main
25
26-- _registry/example.com_v0.0.1/cue.mod/module.cue --
27module: "example.com@v0"
28
29-- _registry/example.com_v0.0.1/top.cue --
30package main
31"example.com@v0": "v0.0.1"
View as plain text