From efd3c98fd120f2f3e24c94fbbc066b9613b42660 Mon Sep 17 00:00:00 2001 From: Stuart Page <38261603+stuartjohnpage@users.noreply.github.com> Date: Fri, 8 Mar 2024 09:44:12 -0600 Subject: [PATCH] fixed tests --- test/recursive_chunk_test.exs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/recursive_chunk_test.exs b/test/recursive_chunk_test.exs index 6c70a3e..9942592 100644 --- a/test/recursive_chunk_test.exs +++ b/test/recursive_chunk_test.exs @@ -322,7 +322,7 @@ defmodule TextChunkerTest do " if (this.inventory[petType] && this.inventory[petType] >= quantity) {", "\n this.inventory[petType] -= quantity;\n return true;\n } else {", "\n return false;\n }\n }", - "\n\n getPetCount(petType) {\n return this.inventory[petType] || 0; \n }\n}" + "\n\n getPetCount(petType) {\n return this.inventory[petType] || 0; \n }\n}\n" ] assert result == expected_result @@ -349,7 +349,7 @@ defmodule TextChunkerTest do " if (this.inventory[petType] && this.inventory[petType] >= quantity) {", "\n this.inventory[petType] -= quantity;\n return true;\n } else {", "\n return true;\n } else {\n return false;\n }\n }", - "\n\n getPetCount(petType) {\n return this.inventory[petType] || 0; \n }\n}" + "\n\n getPetCount(petType) {\n return this.inventory[petType] || 0; \n }\n}\n" ] assert result == expected_result