]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: fix test broken by incorrect comments
authorMichael Matloob <matloob@golang.org>
Tue, 7 Jan 2020 19:43:00 +0000 (14:43 -0500)
committerMichael Matloob <matloob@golang.org>
Tue, 7 Jan 2020 19:53:19 +0000 (19:53 +0000)
I accidentally used // instead of #.

Change-Id: I2c9b9d40dd83994ce80fc837e8d992d3807f3e24
Reviewed-on: https://go-review.googlesource.com/c/go/+/213659
Run-TryBot: Michael Matloob <matloob@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
src/cmd/go/testdata/script/build_import_comment.txt

index 6b7d1715cda85c74485ea441e58e3035a5bbdaa4..0ab643914d117c403fafb27d3f7f966b90620a9c 100644 (file)
@@ -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