update tests context

This commit is contained in:
2026-08-02 15:49:22 +01:00
parent a7d5277c7c
commit 6fcc21adfe
3 changed files with 6 additions and 9 deletions
+1 -2
View File
@@ -2,7 +2,6 @@ package main
import (
"bytes"
"context"
"testing"
"time"
@@ -13,7 +12,7 @@ import (
func TestPrettyPrinter_Render(t *testing.T) {
// Create test data
aw := internal.NewAggregatorWriter()
ctx := context.Background()
ctx := t.Context()
// Add some sample report items
err := aw.Write(ctx, internal.ReportItem{