summaryrefslogtreecommitdiff
path: root/tests/new-exp.tests~
diff options
context:
space:
mode:
Diffstat (limited to 'tests/new-exp.tests~')
-rw-r--r--tests/new-exp.tests~3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/new-exp.tests~ b/tests/new-exp.tests~
index cd730190..6c593642 100644
--- a/tests/new-exp.tests~
+++ b/tests/new-exp.tests~
@@ -418,8 +418,9 @@ c=${var:4}
expect nothing
recho $c
# as of bash-4.2, negative LENGTH means offset from the end
-expect '<a>'
c=${var:0:-2}
+expect '<a>'
+recho $c
var=abcdefghi
c=${var:3:12}