From bcc8957de04fabd73b8eb1b31cce02b03a70b159 Mon Sep 17 00:00:00 2001 From: Spyros Date: Thu, 28 Dec 2023 00:13:14 +0000 Subject: [PATCH] Update pkg/context/context_test.go Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- pkg/context/context_test.go | 1 + 1 file changed, 1 insertion(+) 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 {