1=== RUN   TestOutputWithSubtest
2=== RUN   TestOutputWithSubtest/sub_test
3=== RUN   TestOutputWithSubtest/sub_test/sub2
4=== RUN   TestOutputWithSubtest/sub_test2
5=== RUN   TestOutputWithSubtest/sub_test2/sub2
6--- FAIL: TestOutputWithSubtest (0.00s)
7    foo_test.go:6: output before sub tests
8    foo_test.go:10: output from root test
9    foo_test.go:15: output from root test
10    --- PASS: TestOutputWithSubtest/sub_test (0.00s)
11        foo_test.go:9: output from sub test
12        foo_test.go:11: more output from sub test
13        foo_test.go:16: more output from sub test
14        --- PASS: TestOutputWithSubtest/sub_test/sub2 (0.00s)
15            foo_test.go:14: output from sub2 test
16    foo_test.go:22: output from root test
17    foo_test.go:27: output from root test
18    --- PASS: TestOutputWithSubtest/sub_test2 (0.00s)
19        foo_test.go:21: output from sub test2
20        foo_test.go:23: more output from sub test2
21        foo_test.go:28: more output from sub test2
22        --- PASS: TestOutputWithSubtest/sub_test2/sub2 (0.00s)
23            foo_test.go:26: output from sub2 test
24    foo_test.go:32: output after sub test
25FAIL
26FAIL	gotest.tools/gotestsum/foo	0.001s
27FAIL
28