From da3b522061ab8abdb2e6b730ebb453df43b13c8c Mon Sep 17 00:00:00 2001 From: lethosor Date: Sat, 3 Jul 2021 00:31:19 -0400 Subject: [PATCH] Enable string.split() tests Ref #1888 (step 4) --- test/library/string.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/library/string.lua b/test/library/string.lua index ffe4391a1..102c10c09 100644 --- a/test/library/string.lua +++ b/test/library/string.lua @@ -26,8 +26,6 @@ function test.endswith() 'ensure we match literals, not patterns') end --- uncomment once gui/load-screen's string:split implementation is removed ---[[ function test.split() expect.table_eq({'hello','world'}, ('hello world'):split()) expect.table_eq({'hello','','world'}, ('hello world'):split()) @@ -43,7 +41,6 @@ function test.split() 'ensure spaces are kept when they are not the delimiter') expect.table_eq({'hello'}, ('hello'):split(), 'no delimiter') end -]] function test.trim() expect.eq('hello', ('hello'):trim())