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

     1  # go test ./... with a bad package should report the error once (#44624).
     2  ! go test ./...
     3  stderr -count=1 undefined
     4  
     5  -- go.mod --
     6  module example.com
     7  
     8  go 1.18
     9  -- a/a.go --
    10  package a
    11  
    12  import "example.com/b"
    13  -- b/b.go --
    14  package b
    15  
    16  var X = Y
    17  -- b/b_test.go --
    18  package b
    19  

View as plain text