From 3737a722b7651de2798869ddb582c347080588af Mon Sep 17 00:00:00 2001 From: Paul Jolly Date: Tue, 3 Sep 2019 11:52:58 +0100 Subject: [PATCH] ci: switch to go1.13rc2 and fix new expected error messages --- .travis.yml | 2 +- testdata/mod_readonly.txt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d921d49..e4a0cd3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ cache: go: - "1.11.13" - "1.12.9" - - "1.13beta1" + - "1.13rc2" branches: only: diff --git a/testdata/mod_readonly.txt b/testdata/mod_readonly.txt index 10e3cf2..6ff4b77 100644 --- a/testdata/mod_readonly.txt +++ b/testdata/mod_readonly.txt @@ -7,7 +7,8 @@ cd repo ! gobin -mod=readonly github.com/gobin-testrepos/simple-main ! stdout .+ [go1.11] [!go1.12] stderr 'import lookup disabled by -mod=readonly' -[go1.12] stderr 'can''t load package: package github.com/gobin-testrepos/simple-main: unknown import path "github.com/gobin-testrepos/simple-main": import lookup disabled by -mod=readonly' +[go1.12] [!go1.13] stderr 'can''t load package: package github.com/gobin-testrepos/simple-main: unknown import path "github.com/gobin-testrepos/simple-main": import lookup disabled by -mod=readonly' +[go1.13] stderr 'can''t load package: package github\.com/gobin-testrepos/simple-main: import lookup disabled by -mod=readonly' -- repo/go.mod -- module example.com/repo