From 7d98da8d3174b167b8408ef89836d6ec85ad3dc0 Mon Sep 17 00:00:00 2001 From: Michael Matloob Date: Tue, 7 Jan 2020 14:43:00 -0500 Subject: [PATCH] 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 --- src/cmd/go/testdata/script/build_import_comment.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.50.0