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 7f40c74 commit 0800c63
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 @@ -81,6 +81,7 @@ func TestExtractCodeLine(t *testing.T) {
assert.Nil(t, err)
assert.Equal(t, strings.Join(strings.Split(code, "\n")[17-DefaultLineRange:17+DefaultLineRange], "\n"), codeRange)
}

func TestExtractCodeInvalidTarget(t *testing.T) {
// target is ip, url or file that does not exist

Expand Down

0 comments on commit 0800c63

Please sign in to comment.