diff --git a/pkg/context/context_test.go b/pkg/context/context_test.go index f56b8f7d4..9b8d8b40b 100644 --- a/pkg/context/context_test.go +++ b/pkg/context/context_test.go @@ -57,6 +57,7 @@ func TestExtractCodeLineRangeLessThanDefault(t *testing.T) { assert.Nil(t, err) assert.Equal(t, strings.Join(strings.Split(code, "\n")[:18+DefaultLineRange], "\n"), codeRange) } + func TestExtractCodeLine(t *testing.T) { file, err := os.CreateTemp("", "dracon_context_test") if err != nil {