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
appconnectors
all: remove AUTHORS file and references to it
3 months ago
awsparamstore
cmd/tailscale/cli: allow fetching keys from AWS Parameter Store
3 months ago
buildfeatures
feature/*,net/tstun: add tundev_txq_drops clientmetric on Linux
3 weeks ago
c2n
all: remove AUTHORS file and references to it
3 months ago
capture
all: remove AUTHORS file and references to it
3 months ago
clientupdate
all: remove AUTHORS file and references to it
3 months ago
condlite/ expvar
all: remove AUTHORS file and references to it
3 months ago
condregister
feature/*,net/tstun: add tundev_txq_drops clientmetric on Linux
3 weeks ago
conn25
feature/conn25: install all the hooks
3 weeks ago
debugportmapper
all: remove AUTHORS file and references to it
3 months ago
doctor
all: remove AUTHORS file and references to it
3 months ago
drive
all: remove AUTHORS file and references to it
3 months ago
featuretags
feature/*,net/tstun: add tundev_txq_drops clientmetric on Linux
3 weeks ago
identityfederation
cmd/vet: add subtestnames analyzer; fix all existing violations
2 weeks ago
linkspeed
all: remove AUTHORS file and references to it
3 months ago
linuxdnsfight
all: use Go 1.26 things, run most gofix modernizers
1 month ago
oauthkey
cmd/vet: add subtestnames analyzer; fix all existing violations
2 weeks ago
portlist
feature/portlist: address case where poller misses CollectServices updates
1 month ago
portmapper
all: remove AUTHORS file and references to it
3 months ago
posture
all: remove AUTHORS file and references to it
3 months ago
relayserver
cmd/vet: add subtestnames analyzer; fix all existing violations
2 weeks ago
sdnotify
all: remove AUTHORS file and references to it
3 months ago
ssh
ipn/ipnlocal, feature/ssh: move SSH code out of LocalBackend to feature
1 month ago
syspolicy
all: remove AUTHORS file and references to it
3 months ago
taildrop
tailcfg: reintroduce UserProfile.Groups
1 month ago
tap
all: remove AUTHORS file and references to it
3 months ago
tpm
all: remove AUTHORS file and references to it
3 months ago
tundevstats
feature/*,net/tstun: add tundev_txq_drops clientmetric on Linux
3 weeks ago
useproxy
all: remove AUTHORS file and references to it
3 months ago
wakeonlan
all: remove AUTHORS file and references to it
3 months ago
feature.go
all: remove AUTHORS file and references to it
3 months ago
hooks.go
ipn/ipnlocal, feature/ssh: move SSH code out of LocalBackend to feature
1 month ago
sdnotify.go
all: remove AUTHORS file and references to it
3 months ago