From: Michael Matloob Date: Tue, 7 Jan 2020 19:43:00 +0000 (-0500) Subject: cmd/go: fix test broken by incorrect comments X-Git-Tag: go1.14rc1~148 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7d98da8d3174b167b8408ef89836d6ec85ad3dc0;p=gostls13.git cmd/go: fix test broken by incorrect comments I accidentally used // instead of #. Change-Id: I2c9b9d40dd83994ce80fc837e8d992d3807f3e24 Reviewed-on: https://go-review.googlesource.com/c/go/+/213659 Run-TryBot: Michael Matloob Reviewed-by: Dmitri Shuralyov --- diff --git a/src/cmd/go/testdata/script/build_import_comment.txt b/src/cmd/go/testdata/script/build_import_comment.txt index 6b7d1715cd..0ab643914d 100644 --- a/src/cmd/go/testdata/script/build_import_comment.txt +++ b/src/cmd/go/testdata/script/build_import_comment.txt @@ -1,6 +1,6 @@ -// TODO: add a go.mod file and test with GO111MODULE explicitly on and off. -// We only report the 'expects import' error when modules are disabled. -// Do we report comment parse errors or conflicts in module mode? We shouldn't. +# TODO: add a go.mod file and test with GO111MODULE explicitly on and off. +# We only report the 'expects import' error when modules are disabled. +# Do we report comment parse errors or conflicts in module mode? We shouldn't. # Import comment matches go build -n works.go