style: reformat test tables

This commit is contained in:
2026-10-03 21:41:54 +02:00
parent bed80b046b
commit b49859537b
12 changed files with 146 additions and 59 deletions
+2 -1
View File
@@ -28,7 +28,8 @@ func checkNames(t *testing.T, label string, got, want []string) {
// runSortSuite exercises a by-name and by-sequence sorter pair over the shared fixture.
func runSortSuite[T any](t *testing.T, build func(sortCase) T, name func(T) string,
byName func([]T, bool) error, bySeq func([]T, bool) error) {
byName, bySeq func([]T, bool) error,
) {
t.Helper()
mk := func() []T {
out := make([]T, 0, len(sortFixture))