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
..
auditlog
all: use Go 1.26 things, run most gofix modernizers
1 month ago
conffile
all: remove AUTHORS file and references to it
3 months ago
desktop
all: remove AUTHORS file and references to it
3 months ago
ipnauth
all: remove AUTHORS file and references to it
3 months ago
ipnext
feature/conn25,ipn/ipnext,ipn/ipnlocal: add ExtraRouterConfigRoutes hook
3 weeks ago
ipnlocal
cmd/vet: add subtestnames analyzer; fix all existing violations
2 weeks ago
ipnserver
ipn/ipnserver: use peercreds for actor.Username on freebsd (for Taildrive)
3 weeks ago
ipnstate
types/ptr: deprecate ptr.To, use Go 1.26 new
1 month ago
lapitest
types/ptr: deprecate ptr.To, use Go 1.26 new
1 month ago
localapi
client,cmd/tailscale,ipn/{ipnlocal,localapi}: add debug CLI command to clear netmap caches ( #19213 )
2 weeks ago
policy
all: remove AUTHORS file and references to it
3 months ago
store
all: use Go 1.26 things, run most gofix modernizers
1 month ago
backend.go
ipn,ipn/local: broadcast ClientVersion if AutoUpdate.Check ( #19107 )
3 weeks ago
backend_test.go
all: remove AUTHORS file and references to it
3 months ago
conf.go
ipn: fix the typo causing NoSNAT always set to true ( #19110 )
3 weeks ago
conf_test.go
ipn: reject advertised routes with non-address bits set ( #18649 )
4 weeks ago
doc.go
all: remove AUTHORS file and references to it
3 months ago
ipn_clone.go
tailcfg: reintroduce UserProfile.Groups
1 month ago
ipn_test.go
all: remove AUTHORS file and references to it
3 months ago
ipn_view.go
tailcfg: reintroduce UserProfile.Groups
1 month ago
prefs.go
ipn, cmd/tailscale/cli: allow setting FQDN sans dot as an exit node
2 weeks ago
prefs_test.go
cmd/vet: add subtestnames analyzer; fix all existing violations
2 weeks ago
serve.go
all: use Go 1.26 things, run most gofix modernizers
1 month ago
serve_expand_test.go
all: remove AUTHORS file and references to it
3 months ago
serve_test.go
cmd/vet: add subtestnames analyzer; fix all existing violations
2 weeks ago
store.go
all: remove AUTHORS file and references to it
3 months ago
store_test.go
all: remove AUTHORS file and references to it
3 months ago