mirror of
https://github.com/TangentFoxy/lume.git
synced 2024-11-19 07:04:24 +00:00
Added more tests for lume.trim()
This commit is contained in:
parent
ad64d7af05
commit
617729e261
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user