Skip to content

Commit

Permalink
new test for trim
Browse files Browse the repository at this point in the history
  • Loading branch information
bukn committed Nov 27, 2016
1 parent 3aa2f95 commit b0d64c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/testdir/test_trim.vim
Expand Up @@ -4,4 +4,6 @@ func Test_trim()
call assert_equal(trim(" \t\r\r\x0BTesting \t\n\r\n\t\x0B\x0B"), "Testing")
call assert_equal(trim(" \t \r\r\n\n\x0BTesting \t\n\r\n\t\x0B\x0B"), "Testing")
call assert_equal(trim("xyz \twwRESERVEzyww \t\t", " wxyz\t"), "RESERVE")
call assert_equal(trim("wRE \tSERVEzyww"), "wRE \tSERVEzyww")
call assert_equal(trim(" \tabcd\t xxxx tail"), "abcd\t xxxx tail")
endfunc

0 comments on commit b0d64c7

Please sign in to comment.