aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/expansion.err
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expansion.err')
-rw-r--r--tests/expansion.err12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/expansion.err b/tests/expansion.err
index 6346f23f..e60c203d 100644
--- a/tests/expansion.err
+++ b/tests/expansion.err
@@ -16,3 +16,15 @@ fish: show "$foo[2 1]"
Array index out of bounds
fish: show $foo[2 1]
^
+Invalid index value
+fish: echo "$foo[d]"
+ ^
+Invalid index value
+fish: echo $foo[d]
+ ^
+Array index out of bounds
+fish: echo ()[1]
+ ^
+Invalid index value
+fish: echo ()[d]
+ ^