cuelang.org/go@v0.10.1/internal/mod/modload/testdata/tidy/stdlibpackagenotfound.txtar (about)

     1  # Test what happens when a package is imported that looks like it's from
     2  # the standard library but that doesn't exist.
     3  
     4  -- want --
     5  module: "main.org@v0"
     6  language: {
     7  	version: "v0.8.100"
     8  }
     9  -- cue.mod/module.cue --
    10  module: "main.org@v0"
    11  language: {
    12  	version: "v0.8.100"
    13  }
    14  -- main.cue --
    15  package main
    16  import "notstdlib/package"
    17  
    18  -- _registry/example.com_v0.0.1/cue.mod/module.cue --
    19  module: "example.com@v0"
    20  language: version: "v0.8.0"
    21  
    22  -- _registry/example.com_v0.0.1/x.cue --
    23  package x