Enable string.split() tests

Ref #1888 (step 4)
develop
lethosor 2021-07-03 00:31:19 -04:00
parent 5e911d49db
commit da3b522061
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
1 changed files with 0 additions and 3 deletions

@ -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())