...

Text file src/cuelang.org/go/internal/mod/modload/testdata/tidy/addversion.txtar

Documentation: cuelang.org/go/internal/mod/modload/testdata/tidy

     1# Test that a version is added if not present
     2-- cue-version --
     3v1.2.3
     4-- tidy-check-error --
     5no language version found in cue.mod/module.cue
     6-- want --
     7module: "main.org@v0"
     8language: {
     9	version: "v1.2.3"
    10}
    11-- cue.mod/module.cue --
    12module: "main.org@v0"
    13-- main.cue --
    14package main

View as plain text