Skip to content

Commit

Permalink
test: fix results test (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
FajarKim authored Jun 28, 2024
1 parent f954df3 commit 6c60de7
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 @@ -29,7 +29,7 @@ describe("Testing splitLines() prototype", function() {
it("should handle string with only line breaks", function() {
const text = "\n\r\n\r";
const result = text.splitLines();
assert.deepStrictEqual(result, []);
assert.deepStrictEqual(result, ["", "", ""]);
});

it("should handle string with only line breaks and keep them", function() {
Expand Down

0 comments on commit 6c60de7

Please sign in to comment.