From b38447457d8cabed367ea4872cf7f238a49539c7 Mon Sep 17 00:00:00 2001 From: Rens Rikkerink <1952177+ikkerens@users.noreply.github.com> Date: Tue, 9 Apr 2019 22:14:55 +0200 Subject: [PATCH] Updated test case to reflect new error message --- src/cmd/go/testdata/script/mod_off_init.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/go/testdata/script/mod_off_init.txt b/src/cmd/go/testdata/script/mod_off_init.txt index 8dd4bb028c..f9a4e10bd4 100644 --- a/src/cmd/go/testdata/script/mod_off_init.txt +++ b/src/cmd/go/testdata/script/mod_off_init.txt @@ -4,4 +4,4 @@ env GO111MODULE=off # GO111MODULE=off when outside of GOPATH will fatal # with an error message. ! go mod init -stderr 'go: modules disabled by GO111MODULE=off; see ''go help modules''' +stderr 'go mod init: modules disabled by GO111MODULE=off; see ''go help modules'''