cuelang.org/go@v0.10.1/internal/mod/modload/testdata/tidy/tidy-with-format-differences.txtar (about) 1 # Test that when the module.cue file is differently formatted but 2 # contains the expected dependencies, the tidiness check succeeds. 3 4 -- want -- 5 module: "main.org@v0" 6 language: { 7 version: "v0.8.100" 8 } 9 deps: { 10 "example.com@v0": { 11 v: "v0.0.1" 12 } 13 } 14 -- cue.mod/module.cue -- 15 module: "main.org@v0" 16 language: version: "v0.8.100" 17 // With a comment. 18 deps: "example.com@v0": v: "v0.0.1" 19 20 -- main.cue -- 21 package main 22 import "example.com@v0:main" 23 24 main 25 26 -- _registry/example.com_v0.0.1/cue.mod/module.cue -- 27 module: "example.com@v0" 28 language: version: "v0.8.0" 29 30 -- _registry/example.com_v0.0.1/top.cue -- 31 package main 32 "example.com@v0": "v0.0.1"