aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2019-01-25 16:35:27 +0700
committerShulhan <ms@kilabit.info>2019-01-25 16:35:27 +0700
commit2ae4f88570a21ade28dd4c6c72240173c25d2a85 (patch)
tree60e6b7e270e2b9299ccca57c98f75c11bcfc0e94
parente3fe7d1c5ce4c47d9a5153de57f64f78ab94e0f1 (diff)
downloadbeku-2ae4f88570a21ade28dd4c6c72240173c25d2a85.tar.xz
package: fix test on "go install ./..." with latest Go version
This may result in error when building with Go version < 1.12.
-rw-r--r--package_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/package_test.go b/package_test.go
index 2b1fdb7..518090c 100644
--- a/package_test.go
+++ b/package_test.go
@@ -465,12 +465,14 @@ func testGoInstall(t *testing.T) {
expStdout string
expStderr string
}{{
- desc: "Running #1",
- pkg: testGitPkgCur,
+ desc: "Running #1",
+ pkg: testGitPkgCur,
+ expStderr: `go: warning: "./..." matched no packages`,
}, {
desc: "Running with verbose",
pkg: testGitPkgCur,
isVerbose: true,
+ expStderr: `go: warning: "./..." matched no packages`,
}}
for _, c := range cases {