You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Brad Fitzpatrick
5ef3713c9f
cmd/vet: add subtestnames analyzer; fix all existing violations
...
Add a new vet analyzer that checks t.Run subtest names don't contain
characters requiring quoting when re-running via "go test -run". This
enforces the style guide rule: don't use spaces or punctuation in
subtest names.
The analyzer flags:
- Direct t.Run calls with string literal names containing spaces,
regex metacharacters, quotes, or other problematic characters
- Table-driven t.Run(tt.name, ...) calls where tt ranges over a
slice/map literal with bad name field values
Also fix all 978 existing violations across 81 test files, replacing
spaces with hyphens and shortening long sentence-like names to concise
hyphenated forms.
Updates #19242
Change-Id: Ib0ad96a111bd8e764582d1d4902fe2599454ab65
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 weeks ago
..
ace
all: remove AUTHORS file and references to it
3 months ago
art
all: use Go 1.26 things, run most gofix modernizers
1 month ago
bakedroots
all: remove AUTHORS file and references to it
3 months ago
batching
cmd/vet: add subtestnames analyzer; fix all existing violations
2 weeks ago
captivedetection
all: use Go 1.26 things, run most gofix modernizers
1 month ago
connectproxy
all: remove AUTHORS file and references to it
3 months ago
dns
cmd/vet: add subtestnames analyzer; fix all existing violations
2 weeks ago
dnscache
all: remove AUTHORS file and references to it
3 months ago
dnsfallback
all: remove AUTHORS file and references to it
3 months ago
flowtrack
all: remove AUTHORS file and references to it
3 months ago
ipset
all: use `bart.Lite` instead of `bart.Table` where appropriate
3 weeks ago
ktimeout
all: remove AUTHORS file and references to it
3 months ago
memnet
all: remove AUTHORS file and references to it
3 months ago
netaddr
all: remove AUTHORS file and references to it
3 months ago
netcheck
cmd/vet: add subtestnames analyzer; fix all existing violations
2 weeks ago
neterror
all: use Go 1.26 things, run most gofix modernizers
1 month ago
netkernelconf
all: remove AUTHORS file and references to it
3 months ago
netknob
all: remove AUTHORS file and references to it
3 months ago
netmon
cmd/vet: add subtestnames analyzer; fix all existing violations
2 weeks ago
netns
netns: add Android callback to bind socket to network ( #18915 )
1 month ago
netstat
all: remove AUTHORS file and references to it
3 months ago
netutil
all: use Go 1.26 things, run most gofix modernizers
1 month ago
netx
all: remove AUTHORS file and references to it
3 months ago
packet
net,tsnet: fix the capitalisation of "Wireshark"
3 weeks ago
ping
all: remove AUTHORS file and references to it
3 months ago
portmapper
all: remove AUTHORS file and references to it
3 months ago
porttrack
net/porttrack: change magic listen address format for Go 1.26
1 month ago
proxymux
all: remove AUTHORS file and references to it
3 months ago
routetable
netns,wgengine: add OpenBSD support to netns via an rtable
2 months ago
sockopts
all: remove AUTHORS file and references to it
3 months ago
socks5
all: use Go 1.26 things, run most gofix modernizers
1 month ago
sockstats
all: remove AUTHORS file and references to it
3 months ago
speedtest
cmd/vet: add subtestnames analyzer; fix all existing violations
2 weeks ago
stun
cmd/vet: add subtestnames analyzer; fix all existing violations
2 weeks ago
stunserver
all: use Go 1.26 things, run most gofix modernizers
1 month ago
tcpinfo
all: remove AUTHORS file and references to it
3 months ago
tlsdial
net,tsnet: fix the capitalisation of "Wireshark"
3 weeks ago
tsaddr
all: remove AUTHORS file and references to it
3 months ago
tsdial
all: remove AUTHORS file and references to it
3 months ago
tshttpproxy
cmd/vet: add subtestnames analyzer; fix all existing violations
2 weeks ago
tstun
tailcfg,ipn/ipnlocal: regulate netmap caching via a node attribute ( #19117 )
2 weeks ago
udprelay
cmd/vet: add subtestnames analyzer; fix all existing violations
2 weeks ago
wsconn
all: remove AUTHORS file and references to it
3 months ago