]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/internal/testdir: parse past gofmt'd //go:build lines
authorBryan C. Mills <bcmills@google.com>
Thu, 24 Aug 2023 17:16:48 +0000 (13:16 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 24 Aug 2023 17:52:48 +0000 (17:52 +0000)
commit5374c1aaf53a2212ca6a27eedc936fa917c5d077
tree9f6b256cb93dd040f289d9bf5588cb67ffa5dc3e
parent65c133506f42c3e4180c0444970b224228244afc
cmd/internal/testdir: parse past gofmt'd //go:build lines

Also gofmt a test file to make sure the parser works.

Fixes #62267.

Change-Id: I9b9f12b06bae7df626231000879b5ed7df3cd9ba
Reviewed-on: https://go-review.googlesource.com/c/go/+/522635
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
src/cmd/internal/testdir/testdir_test.go
test/fixedbugs/issue10607.go