Skip to content

Commit

Permalink
update e2e_test
Browse files Browse the repository at this point in the history
  • Loading branch information
camdencheek committed Dec 8, 2023
1 parent 5c2e4fc commit 083cb67
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion web/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,10 @@ func TestContextLines(t *testing.T) {
// Returns 3 instead of 4 new line characters since we swallow
// the last new line in Before, Fragments and After.
Before: "\n\n\n",
After: "\n\n\n",
// Returns 2 instead of 3 new line characters since a
// trailing newline at the end of the file does not
// constitue a new line.
After: "\n\n",
},
},
},
Expand Down

0 comments on commit 083cb67

Please sign in to comment.