aboutsummaryrefslogtreecommitdiff
path: root/tests/function
diff options
context:
space:
mode:
Diffstat (limited to 'tests/function')
-rw-r--r--tests/function/regex/testscript8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/function/regex/testscript b/tests/function/regex/testscript
index 977d7b3..1fdb383 100644
--- a/tests/function/regex/testscript
+++ b/tests/function/regex/testscript
@@ -167,7 +167,7 @@
: failure
:
- $* <<EOI >''
+ $* <<EOI >'[null]'
print $regex.match(" bar", '([^\s]+)\s+([^\s]+)', return_subs)
EOI
}
@@ -225,8 +225,8 @@
: failure
:
- $* <<EOI >''
- print $regex.match(" bar", '([^\s]+)\s+([^\s]+)', return_subs)
+ $* <<EOI >'[null]'
+ print $regex.search(" bar", '([^\s]+)\s+([^\s]+)', return_subs)
EOI
}
@@ -247,7 +247,7 @@
: failure
:
- $* <<EOI >''
+ $* <<EOI >'[null]'
print $regex.search(" bar", '([^\s]+)\s+([^\s]+)', return_match)
EOI
}