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
..
defaultroute_bsd.go
netns,wgengine: add OpenBSD support to netns via an rtable
2 months ago
defaultroute_darwin.go
all: remove AUTHORS file and references to it
3 months ago
interfaces.go
all: remove AUTHORS file and references to it
3 months ago
interfaces_android.go
all: remove AUTHORS file and references to it
3 months ago
interfaces_bsd.go
netns,wgengine: add OpenBSD support to netns via an rtable
2 months ago
interfaces_bsdroute.go
netns,wgengine: add OpenBSD support to netns via an rtable
2 months ago
interfaces_darwin.go
all: remove AUTHORS file and references to it
3 months ago
interfaces_darwin_test.go
all: remove AUTHORS file and references to it
3 months ago
interfaces_default_route_test.go
all: remove AUTHORS file and references to it
3 months ago
interfaces_defaultrouteif_todo.go
netns,wgengine: add OpenBSD support to netns via an rtable
2 months ago
interfaces_linux.go
all: remove AUTHORS file and references to it
3 months ago
interfaces_linux_test.go
all: remove AUTHORS file and references to it
3 months ago
interfaces_test.go
all: remove AUTHORS file and references to it
3 months ago
interfaces_windows.go
all: remove AUTHORS file and references to it
3 months ago
interfaces_windows_test.go
all: remove AUTHORS file and references to it
3 months ago
loghelper.go
all: remove AUTHORS file and references to it
3 months ago
loghelper_test.go
all: remove AUTHORS file and references to it
3 months ago
netmon.go
netmon: use State AnyInterfaceUp in ChangeDelta ( #18752 )
2 months ago
netmon_darwin.go
all: remove AUTHORS file and references to it
3 months ago
netmon_darwin_test.go
all: remove AUTHORS file and references to it
3 months ago
netmon_freebsd.go
all: remove AUTHORS file and references to it
3 months ago
netmon_linux.go
all: remove AUTHORS file and references to it
3 months ago
netmon_linux_test.go
cmd/vet: add subtestnames analyzer; fix all existing violations
2 weeks ago
netmon_polling.go
all: remove AUTHORS file and references to it
3 months ago
netmon_test.go
all: remove AUTHORS file and references to it
3 months ago
netmon_windows.go
all: remove AUTHORS file and references to it
3 months ago
polling.go
all: remove AUTHORS file and references to it
3 months ago
state.go
all: use Go 1.26 things, run most gofix modernizers
1 month ago