update tests context

This commit is contained in:
natercio committed 2026-08-02 15:49:22 +01:00
1 parent a7d5277c7c
commit 6fcc21adfe
3 files changed
+6 -9

No files matched your search

+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{