Skip to content

Commit 93c54fe

Browse files
committed
Added Unicode compliance test for trim() function.
1 parent 81820e2 commit 93c54fe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/compliance/string_functions.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@
6161
{ "expression": "trim(' subject string ', 'su ')", "result": "bject string" },
6262
{ "expression": "trim(' subject string ', 'gsu ')", "result": "bject strin" },
6363

64+
{
65+
"expression": "trim('\u0009\u000A\u000B\u000C\u000D\u0020\u0085\u00A0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u2028\u2029\u202F\u205F\u3000')",
66+
"result": ""
67+
},
68+
6469
{ "expression": "trim_left(' subject string ')", "result": "subject string " },
6570
{ "expression": "trim_left(' subject string ', 's')", "result": " subject string " },
6671
{ "expression": "trim_left(' subject string ', 'su')", "result": " subject string " },

0 commit comments

Comments
 (0)