mirror of
https://github.com/golang/go
synced 2024-11-17 21:04:43 -07:00
38a3c2cfe9
Previously, cover printed directives (//go: comments) near the top of the file unless they were in doc comments. However, directives frequently apply to specific definitions, and they are not written in doc comments to prevent godoc from printing them. Moving all directives to the top of the file affected semantics of tests. With this change, directives are kept together with the following top-level declarations. Only directives that occur after all top-level declarations are moved. Fixes #22022 Change-Id: Ic5c61c4d3969996e4ed5abccba0989163789254c Reviewed-on: https://go-review.googlesource.com/69630 Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org> Reviewed-by: Alan Donovan <adonovan@google.com>
190 lines
2.1 KiB
Protocol Buffer
190 lines
2.1 KiB
Protocol Buffer
etc src=/etc
|
|
mime.types src=../misc/nacl/testdata/mime.types
|
|
resolv.conf src=../misc/nacl/testdata/empty
|
|
group src=../misc/nacl/testdata/group
|
|
passwd src=../misc/nacl/testdata/empty
|
|
hosts src=../misc/nacl/testdata/hosts
|
|
services
|
|
usr src=../misc/nacl/testdata
|
|
bin
|
|
go src=..
|
|
src
|
|
cmd
|
|
api
|
|
testdata
|
|
+
|
|
asm
|
|
internal
|
|
asm
|
|
testdata
|
|
+
|
|
compile
|
|
internal
|
|
syntax
|
|
parser.go
|
|
cover
|
|
testdata
|
|
+
|
|
doc
|
|
main.go
|
|
pkg.go
|
|
doc_test.go
|
|
testdata
|
|
+
|
|
internal
|
|
objfile
|
|
objfile.go
|
|
buildid
|
|
testdata
|
|
+
|
|
gofmt
|
|
gofmt.go
|
|
gofmt_test.go
|
|
testdata
|
|
+
|
|
vendor
|
|
github.com
|
|
google
|
|
pprof
|
|
internal
|
|
driver
|
|
testdata
|
|
+
|
|
graph
|
|
testdata
|
|
+
|
|
report
|
|
testdata
|
|
+
|
|
profile
|
|
testdata
|
|
+
|
|
ianlancetaylor
|
|
demangle
|
|
testdata
|
|
+
|
|
golang.org
|
|
x
|
|
arch
|
|
arm
|
|
armasm
|
|
testdata
|
|
+
|
|
arm64
|
|
arm64asm
|
|
testdata
|
|
+
|
|
x86
|
|
x86asm
|
|
testdata
|
|
+
|
|
ppc64
|
|
ppc64asm
|
|
testdata
|
|
+
|
|
archive
|
|
tar
|
|
testdata
|
|
+
|
|
zip
|
|
testdata
|
|
+
|
|
compress
|
|
bzip2
|
|
testdata
|
|
+
|
|
flate
|
|
testdata
|
|
+
|
|
gzip
|
|
testdata
|
|
+
|
|
lzw
|
|
testdata
|
|
+
|
|
zlib
|
|
crypto
|
|
rsa
|
|
testdata
|
|
+
|
|
tls
|
|
testdata
|
|
+
|
|
debug
|
|
dwarf
|
|
testdata
|
|
+
|
|
elf
|
|
testdata
|
|
+
|
|
macho
|
|
testdata
|
|
+
|
|
pe
|
|
testdata
|
|
+
|
|
plan9obj
|
|
testdata
|
|
+
|
|
go
|
|
build
|
|
+
|
|
doc
|
|
testdata
|
|
+
|
|
format
|
|
+
|
|
parser
|
|
+
|
|
printer
|
|
+
|
|
image
|
|
testdata
|
|
+
|
|
draw
|
|
gif
|
|
jpeg
|
|
png
|
|
testdata
|
|
+
|
|
internal
|
|
trace
|
|
testdata
|
|
+
|
|
io
|
|
+
|
|
mime
|
|
testdata
|
|
+
|
|
multipart
|
|
testdata
|
|
+
|
|
net
|
|
http
|
|
+
|
|
testdata
|
|
+
|
|
os
|
|
+
|
|
path
|
|
filepath
|
|
+
|
|
regexp
|
|
testdata
|
|
+
|
|
runtime
|
|
textflag.h
|
|
strconv
|
|
testdata
|
|
+
|
|
text
|
|
template
|
|
testdata
|
|
+
|
|
lib
|
|
time
|
|
zoneinfo.zip
|
|
|
|
test
|
|
+
|