summaryrefslogtreecommitdiffstats
path: root/tests/switch.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/switch.test')
-rw-r--r--tests/switch.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/switch.test b/tests/switch.test
index 3d106c0..930f062 100644
--- a/tests/switch.test
+++ b/tests/switch.test
@@ -192,7 +192,7 @@ test switch-5.1 {errors in -regexp matching} -returnCodes error -body {
aaaab {subst exact}
default {subst none}
}
-} -result {couldn't compile regular expression pattern: quantifier operand invalid}
+} -result {cannot compile regular expression pattern: invalid quantifier operand}
test switch-6.1 {backslashes in patterns} {
switch -exact {\a\$\.\[} {