From 6c60de714482e09836643e15bbd3b989eb08cd2e Mon Sep 17 00:00:00 2001 From: Rangga Fajar Oktariansyah <86386385+FajarKim@users.noreply.github.com> Date: Sat, 29 Jun 2024 06:12:15 +0700 Subject: [PATCH] test: fix results test (#4) --- test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.js b/test.js index 39e93a8..403e74c 100644 --- a/test.js +++ b/test.js @@ -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() {