diff --git a/pkg/context/context_test.go b/pkg/context/context_test.go index 38c2d6065..87fc94b72 100644 --- a/pkg/context/context_test.go +++ b/pkg/context/context_test.go @@ -58,6 +58,7 @@ func TestExtractCodeLineRangeLessThanDefault(t *testing.T) { 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 {