1 # Issue 14450: go get -u .../ tried to import not downloaded package
2
3 [!net] skip
4 [!exec:git] skip
5 env GO111MODULE=off
6
7 go get github.com/tmwh/go-get-issue-14450/a
8 ! go get -u .../
9 stderr 'cannot find package.*d-dependency/e'
10
11 # Even though get -u failed, the source for others should be downloaded.
12 exists github.com/tmwh/go-get-issue-14450/b
13 exists github.com/tmwh/go-get-issue-14450-b-dependency/c
14 exists github.com/tmwh/go-get-issue-14450-b-dependency/d
15
16 ! exists github.com/tmwh/go-get-issue-14450-c-dependency/e
17
View as plain text