aboutsummaryrefslogtreecommitdiff
path: root/tests/function/string/testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/function/string/testscript')
-rw-r--r--tests/function/string/testscript7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/function/string/testscript b/tests/function/string/testscript
index d42add7..9275fe5 100644
--- a/tests/function/string/testscript
+++ b/tests/function/string/testscript
@@ -24,3 +24,10 @@
$* <'print $string.icasecmp("a", "b")' >'false' : untyped-untyped
}
}
+
+: trim
+:
+{
+ $* <'print $trim([string] " a ")' >'a' : string
+ $* <'print $string.trim( " a ")' >'a' : untyped
+}