Text file src/cmd/go/testdata/script/mod_missingpkg_prerelease.txt

     1  env GO111MODULE=on
     2  
     3  ! go list -mod=mod -deps use.go
     4  stderr '^use.go:4:2: package example.com/missingpkg/deprecated provided by example.com/missingpkg at latest version v1.0.0 but not at required version v1.0.1-beta$'
     5  
     6  -- go.mod --
     7  module m
     8  
     9  go 1.14
    10  
    11  -- use.go --
    12  package use
    13  
    14  import (
    15  	_ "example.com/missingpkg/deprecated"
    16  	_ "example.com/usemissingpre"
    17  )
    18  

View as plain text