Refactor trace package tests for improved readability

- Removed unnecessary blank lines in multiple test files to enhance code clarity and maintainability.
- Adjusted formatting in `subscription.go`, `trace_bench_test.go`, `trace_concurrent_test.go`, `trace_mem_test.go`, `trace_node_test.go`, `trace_space_test.go`, and `trace_subscription_test.go` for consistency.
This commit is contained in:
Max 2025-11-18 15:48:21 +08:00
parent 3a46d98663
commit a7210f027f
7 changed files with 13 additions and 19 deletions

View file

@ -491,4 +491,3 @@ func getTraceScenarios() []traceScenario {
}, },
} }
} }

View file

@ -282,4 +282,3 @@ func TestConcurrentLogging(t *testing.T) {
}) })
} }
} }

View file

@ -618,4 +618,3 @@ func TestGoroutineLeak(t *testing.T) {
t.Logf("✓ No goroutine leak detected") t.Logf("✓ No goroutine leak detected")
} }
} }

View file

@ -211,4 +211,3 @@ func TestCompleteWithOutput(t *testing.T) {
}) })
} }
} }

View file

@ -183,4 +183,3 @@ func TestSpaceGetSpace(t *testing.T) {
}) })
} }
} }

View file

@ -280,4 +280,3 @@ func TestMultipleSubscribers(t *testing.T) {
}) })
} }
} }