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

     1  env GO111MODULE=off
     2  
     3  ! go build canonical/d
     4  stderr '^canonical[/\\]b[/\\]b.go:3:8: non-canonical import path "canonical/a/": should be "canonical/a"$'
     5  
     6  -- canonical/a/a.go --
     7  package a
     8  
     9  import _ "c"
    10  -- canonical/b/b.go --
    11  package b
    12  
    13  import _ "canonical/a/"
    14  -- canonical/a/vendor/c/c.go --
    15  package c
    16  -- canonical/d/d.go --
    17  package d
    18  
    19  import _ "canonical/b"
    20  

View as plain text