From 4a26ceeaf7758c44aa5ec3fb53da207737526805 Mon Sep 17 00:00:00 2001 From: TKB Studios <69647028+tkbstudios@users.noreply.github.com> Date: Fri, 29 Mar 2024 15:43:48 +0100 Subject: [PATCH] remove tests --- .../test-rom/spec/modules/cc/strings_spec.lua | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/projects/core/src/test/resources/test-rom/spec/modules/cc/strings_spec.lua b/projects/core/src/test/resources/test-rom/spec/modules/cc/strings_spec.lua index b1fccca6e..585f8ef1a 100644 --- a/projects/core/src/test/resources/test-rom/spec/modules/cc/strings_spec.lua +++ b/projects/core/src/test/resources/test-rom/spec/modules/cc/strings_spec.lua @@ -42,27 +42,4 @@ describe("cc.pretty", function() expect(str.ensure_width("test string is long", 15)):eq("test string is ") end) end) - - describe("split", function() - it("splits a string into a table of lines", function() - local expected = {"this", "is", "a", "test", ""} - expect(str.split("this\nis\na\ntest\n")):tableEq(expected) - end) - - it("truncates lines to the given width", function() - local expected = { - "1234567890", - "123456789", - "12345678", - "123456", - "" } - expect(str.split("1234567890\n123456789\n12345678\n123456\n", 10)):tableEq(expected) - end) - - it("doesn't modify the original string", function() - local input = "this is a test" - str.split(input, 5) - expect(input):eq("this is a test") - end) - end) end)