mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-28 01:11:15 -03:00
Back out "Allow if/then/fi, while/do/done and for/do/done"
This backs out commit e32572e4e6.
This commit is contained in:
@@ -614,12 +614,3 @@ echo 'echo "foo" "bar"' > $tmpdir/indent_test.fish
|
||||
$fish_indent --write $tmpdir/indent_test.fish
|
||||
cat $tmpdir/indent_test.fish
|
||||
# CHECK: echo foo bar
|
||||
|
||||
# TODO: We should not force the line break.
|
||||
echo 'if true; then
|
||||
echo body
|
||||
fi' | $fish_indent
|
||||
# CHECK: if true
|
||||
# CHECK: then
|
||||
# CHECK: {{ }}echo body
|
||||
# CHECK: fi
|
||||
|
||||
Reference in New Issue
Block a user