aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/vcs
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-03-14 14:17:31 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-03-14 14:55:59 +0100
commitd23e90a7b44b62b0d3b116a6d30849ce66051529 (patch)
tree1bdbc7c9d1d8e0b4f635a896147e26f1ad42b457 /pkg/vcs
parent1e8208402d9c84d5f3ee6e33b63db8befbf61032 (diff)
all: switch to Go 1.12
Differences in code formatting between Go versions cause constant problems for us (https://github.com/golang/go/issues/25161). Currently we support 1.9 and 1.10. Switch to newer 1.11 and 1.12. Fixes #1013
Diffstat (limited to 'pkg/vcs')
-rw-r--r--pkg/vcs/vcs_test.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkg/vcs/vcs_test.go b/pkg/vcs/vcs_test.go
index 457430989..aa7210bf6 100644
--- a/pkg/vcs/vcs_test.go
+++ b/pkg/vcs/vcs_test.go
@@ -33,12 +33,12 @@ func TestCheckRepoAddress(t *testing.T) {
"http://host.xz:123/path/to/repo.git/": true,
"https://chromium.googlesource.com/chromiumos/third_party/kernel": true,
"https://fuchsia.googlesource.com": true,
- "": false,
- "foobar": false,
- "linux-next": false,
- "foo://kernel.ubuntu.com/ubuntu/ubuntu-zesty.git": false,
- "git://kernel/ubuntu.git": false,
- "gitgit://kernel.ubuntu.com/ubuntu/ubuntu-zesty.git": false,
+ "": false,
+ "foobar": false,
+ "linux-next": false,
+ "foo://kernel.ubuntu.com/ubuntu/ubuntu-zesty.git": false,
+ "git://kernel/ubuntu.git": false,
+ "gitgit://kernel.ubuntu.com/ubuntu/ubuntu-zesty.git": false,
})
}