Use variable in tests/checks/indent.fish

This commit is contained in:
Johannes Altmanninger 2020-08-09 23:06:41 +02:00
parent 9c327b19a6
commit 14a66fad64

View File

@ -360,9 +360,9 @@ command 2' | $fish_indent
#CHECK: {{^ }}command 1 cont ||
#CHECK: {{^ }}command 2
echo " foo" | fish_indent --check
echo " foo" | $fish_indent --check
echo $status
#CHECK: 1
echo "foo" | fish_indent --check
echo foo | $fish_indent --check
echo $status
#CHECK: 0