diff --git a/tests/expansion.err b/tests/expansion.err index d898fab04..678e91d37 100644 --- a/tests/expansion.err +++ b/tests/expansion.err @@ -39,3 +39,6 @@ fish: Unexpected '}' for unopened brace expansion echo {}} ^ +fish: Command substitutions not allowed +command (asd) +^ diff --git a/tests/expansion.in b/tests/expansion.in index dc7bf48ef..e36c8ff0f 100644 --- a/tests/expansion.in +++ b/tests/expansion.in @@ -153,4 +153,6 @@ logmsg Test fatal syntax errors ../test/root/bin/fish -c 'echo $,foo' ../test/root/bin/fish -c 'echo {' ../test/root/bin/fish -c 'echo {}}' -true \ No newline at end of file +# The output for this is wrong in non-interactive mode and will need fixing when #5812 is fixed +../test/root/bin/fish -c 'command (asd)' +true