diff options
author | Mattias Wadman <mattias.wadman@gmail.com> | 2024-03-20 11:04:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-20 11:04:17 +0100 |
commit | be437ec049bb2300731522ca93f37cd2629b4cc8 (patch) | |
tree | 43b578a215508e105f632e923a47bff93c3eda6b /tests/man.test | |
parent | 81f4f883ac76de11ae9d99266554d31d3b7f0c0c (diff) |
Add trim/0, ltrim/0 and rtrim/0 that trims leading and trailing whitespace (#3056)
Diffstat (limited to 'tests/man.test')
-rw-r--r-- | tests/man.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/man.test b/tests/man.test index 07938cd5..31ae3bf2 100644 --- a/tests/man.test +++ b/tests/man.test @@ -602,6 +602,12 @@ combinations(2) ["fo", "foo", "barfoo", "foobar", "foob"] ["fo","","bar","foobar","foob"] +trim, ltrim, rtrim +" abc " +"abc" +"abc " +" abc" + explode "foobar" [102,111,111,98,97,114] |