Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔒fix: CVE 2023 26115 (2) #41

Merged
merged 7 commits into from
Jul 18, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: fix test
OlafConijn committed Jul 15, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 30d6daf60fce429f5f559252fa86ee78200652c4
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
@@ -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 () {