mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-15 01:17:45 +00:00
f91c725ff0
Fixes #5812
44 lines
735 B
Text
44 lines
735 B
Text
|
|
####################
|
|
# Slices
|
|
fish: Invalid index value
|
|
echo "$foo[d]"
|
|
^
|
|
fish: Invalid index value
|
|
echo $foo[d]
|
|
^
|
|
fish: Invalid index value
|
|
echo ()[d]
|
|
^
|
|
|
|
####################
|
|
# Percent self
|
|
|
|
####################
|
|
# Catch your breath
|
|
fish: $) is not a valid variable in fish.
|
|
echo $$paren
|
|
^
|
|
|
|
####################
|
|
# Test tilde expansion
|
|
|
|
####################
|
|
# Test path variables
|
|
|
|
####################
|
|
# Test fatal syntax errors
|
|
fish: $, is not a valid variable in fish.
|
|
echo $,foo
|
|
^
|
|
fish: Unexpected end of string, incomplete parameter expansion
|
|
echo {
|
|
^
|
|
|
|
fish: Unexpected '}' for unopened brace expansion
|
|
echo {}}
|
|
^
|
|
|
|
fish: Command substitutions not allowed
|
|
command (asd)
|
|
^
|