Skip to content

Commit

Permalink
tests(trimNewlines): ensure new example works
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy-mitchell committed Mar 20, 2023
1 parent bc49dd2 commit 4d6dc34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ test('main', t => {
t.is(trimNewlines(' '), ' ');
t.is(trimNewlines('\n\n\r'), '');
t.is(trimNewlines('\nx\n'), 'x');
t.is(trimNewlines('\nx\nx\n'), 'x\nx');
t.is(trimNewlines('\n\n\nx\n\n\n'), 'x');
t.is(trimNewlines('\r\nx\r\n'), 'x');
t.is(trimNewlines('\n\r\n\nx\n\r\n\n'), 'x');
Expand Down

0 comments on commit 4d6dc34

Please sign in to comment.