diff options
Diffstat (limited to 'tests/expansion.err')
-rw-r--r-- | tests/expansion.err | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/expansion.err b/tests/expansion.err new file mode 100644 index 00000000..e60c203d --- /dev/null +++ b/tests/expansion.err @@ -0,0 +1,30 @@ +Array index out of bounds +fish: show "$foo[2]" + ^ +Array index out of bounds +fish: show $foo[2] + ^ +Array index out of bounds +fish: show "$foo[1 2]" + ^ +Array index out of bounds +fish: show $foo[1 2] + ^ +Array index out of bounds +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] + ^ |