Skip to content

Commit fc50d65

Browse files
committed
fix: lint
1 parent 4a0b8bd commit fc50d65

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/runtime/runtime_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ func TestEmitStartupInfo(t *testing.T) {
745745
events := make(chan Event, 10)
746746

747747
// Call EmitStartupInfo
748-
rt.EmitStartupInfo(context.Background(), events)
748+
rt.EmitStartupInfo(t.Context(), events)
749749
close(events)
750750

751751
// Collect events
@@ -765,7 +765,7 @@ func TestEmitStartupInfo(t *testing.T) {
765765

766766
// Test that calling EmitStartupInfo again doesn't emit duplicate events
767767
events2 := make(chan Event, 10)
768-
rt.EmitStartupInfo(context.Background(), events2)
768+
rt.EmitStartupInfo(t.Context(), events2)
769769
close(events2)
770770

771771
var collectedEvents2 []Event

0 commit comments

Comments
 (0)