Skip to content

Commit

Permalink
Update pkg/context/context_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
northdpole and github-actions[bot] authored Dec 28, 2023
1 parent ec24640 commit 7f40c74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/context/context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7f40c74

Please sign in to comment.