...

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

Documentation: cmd/go/testdata/script

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

View as plain text