]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go/testdata/script: fix incorrect comments
authorZvonimir Pavlinovic <zpavlinovic@google.com>
Thu, 23 Sep 2021 22:50:22 +0000 (15:50 -0700)
committerBryan C. Mills <bcmills@google.com>
Mon, 27 Sep 2021 20:14:44 +0000 (20:14 +0000)
Change-Id: I675d66c229a4293146366bc9b927e0fd2d7a3eeb
Reviewed-on: https://go-review.googlesource.com/c/go/+/351929
Run-TryBot: Zvonimir Pavlinovic <zpavlinovic@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ingo Oeser <nightlyone@googlemail.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Trust: Than McIntosh <thanm@google.com>
Trust: Zvonimir Pavlinovic <zpavlinovic@google.com>

src/cmd/go/testdata/script/test_vet.txt

index 687d4851de10e9dc76276678787da9b1a97c3a66..6151f912ae0db150eb1ede771f4628743d12e87a 100644 (file)
@@ -24,11 +24,11 @@ stderr 'using resp before checking for errors'
 ! go test -vet=bools,xyz ./vetall/...
 stderr '-vet argument must be a supported analyzer'
 
-# Test with a list of analyzers
+# Test with a single analyzer
 ! go test -vet=httpresponse ./vetall/...
 stderr 'using resp before checking for errors'
 
-# Test with a single analyzer
+# Test with a list of analyzers
 go test -vet=atomic,bools,nilfunc ./vetall/...
 stdout 'm/vetall.*\[no tests to run\]'