Skip to content

Commit a78bbb2

Browse files
vojtabiberleclaude
andcommitted
DMD-919 - Use t.Context() instead of context.Background() in tests
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 6577156 commit a78bbb2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

internal/pkg/llm/twinformat/configparser/parser_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package configparser
22

33
import (
4-
"context"
54
"testing"
65

76
"github.com/stretchr/testify/assert"
@@ -242,7 +241,7 @@ func TestParseStorageMappings(t *testing.T) {
242241
func TestParseCodeBlocks(t *testing.T) {
243242
t.Parallel()
244243

245-
ctx := context.Background()
244+
ctx := t.Context()
246245
logger := log.NewNopLogger()
247246

248247
tests := []struct {

0 commit comments

Comments
 (0)