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

     1  [short] skip
     2  env GO111MODULE=off
     3  
     4  # test should work too
     5  go test github.com/rsc/go-get-issue-11864
     6  go test github.com/rsc/go-get-issue-11864/t
     7  
     8  # external tests should observe internal test exports (golang.org/issue/11977)
     9  go test github.com/rsc/go-get-issue-11864/vendor/vendor.org/tx2
    10  
    11  -- $GOPATH/src/github.com/rsc/go-get-issue-11864/m.go --
    12  package g
    13  
    14  import _ "vendor.org/p"
    15  import _ "vendor.org/p1"
    16  
    17  func main() {}
    18  
    19  -- $GOPATH/src/github.com/rsc/go-get-issue-11864/t/t_test.go --
    20  package t
    21  
    22  import _ "vendor.org/p"
    23  import _ "vendor.org/p1"
    24  import "testing"
    25  
    26  func TestNop(t *testing.T) {}
    27  
    28  -- $GOPATH/src/github.com/rsc/go-get-issue-11864/t/t.go --
    29  package t
    30  
    31  -- $GOPATH/src/github.com/rsc/go-get-issue-11864/tx/tx_test.go --
    32  package tx_test
    33  
    34  import _ "vendor.org/p"
    35  import _ "vendor.org/p1"
    36  import "testing"
    37  
    38  func TestNop(t *testing.T) {}
    39  
    40  -- $GOPATH/src/github.com/rsc/go-get-issue-11864/tx/tx.go --
    41  package tx
    42  
    43  -- $GOPATH/src/github.com/rsc/go-get-issue-11864/vendor/vendor.org/p1/p1.go --
    44  package p1 // import "vendor.org/p1"
    45  
    46  -- $GOPATH/src/github.com/rsc/go-get-issue-11864/vendor/vendor.org/tx3/tx3_test.go --
    47  package tx3_test
    48  
    49  import "vendor.org/tx3"
    50  import "testing"
    51  
    52  var Found = tx3.Exported
    53  
    54  func TestNop(t *testing.T) {}
    55  
    56  -- $GOPATH/src/github.com/rsc/go-get-issue-11864/vendor/vendor.org/tx3/export_test.go --
    57  package tx3
    58  
    59  var Exported = true
    60  
    61  -- $GOPATH/src/github.com/rsc/go-get-issue-11864/vendor/vendor.org/tx3/tx3.go --
    62  package tx3
    63  
    64  -- $GOPATH/src/github.com/rsc/go-get-issue-11864/vendor/vendor.org/tx2/tx2_test.go --
    65  package tx2_test
    66  
    67  import . "vendor.org/tx2"
    68  import "testing"
    69  
    70  var Found = Exported
    71  
    72  func TestNop(t *testing.T) {}
    73  
    74  -- $GOPATH/src/github.com/rsc/go-get-issue-11864/vendor/vendor.org/tx2/export_test.go --
    75  package tx2
    76  
    77  var Exported = true
    78  
    79  -- $GOPATH/src/github.com/rsc/go-get-issue-11864/vendor/vendor.org/tx2/tx2.go --
    80  package tx2
    81  
    82  -- $GOPATH/src/github.com/rsc/go-get-issue-11864/vendor/vendor.org/p/p.go --
    83  package p
    84  

View as plain text