Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
OlafConijn committed Jul 15, 2023
1 parent 655929c commit 30d6daf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe('wrap', function () {
});

it('should trim trailing whitespace (even for empty lines):', function () {
assert.equal(wrap("a \n\nb \n \nc\t", {trim: true}), 'a\nb\nc');
assert.equal(wrap("a \n\nb \n \nc\t", {trim: true}), 'a\n\nb\n\nc');
});

it('should handle strings with just newlines', function () {
Expand Down

0 comments on commit 30d6daf

Please sign in to comment.