From 7638a44fa613f23434318bdf136723aa010e8638 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 13 Oct 2025 04:38:48 +0900 Subject: treewide: parallel tests Most tests already had no global state, however parallel was never enabled. This change enables it for all applicable tests. Signed-off-by: Ophestra --- command/parse_test.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'command/parse_test.go') diff --git a/command/parse_test.go b/command/parse_test.go index ce013f20..c2956c6f 100644 --- a/command/parse_test.go +++ b/command/parse_test.go @@ -14,6 +14,8 @@ import ( ) func TestParse(t *testing.T) { + t.Parallel() + testCases := []struct { name string buildTree func(wout, wlog io.Writer) command.Command @@ -251,6 +253,7 @@ Commands: } for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { + t.Parallel() wout, wlog := new(bytes.Buffer), new(bytes.Buffer) c := tc.buildTree(wout, wlog) -- cgit v1.3.1