Added more tests for lume.trim()

This commit is contained in:
rxi 2014-03-19 20:18:32 +00:00
parent ad64d7af05
commit 617729e261

View File

@ -296,6 +296,8 @@ tests["lume.trim"] = function()
testeq( lume.trim(" hello world "), "hello world" )
testeq( lume.trim("-=-hello-world===", "-="), "hello-world" )
testeq( lume.trim("***hello world*-*", "*"), "hello world*-" )
testeq( lume.trim("...hello world.", "."), "hello world" )
testeq( lume.trim("^.hello world]^", "^.]"), "hello world" )
end
-- lume.format