mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-27 20:25:12 +00:00
Correct path in fish_indent tests
This commit is contained in:
parent
da2e2c2e99
commit
6fa9a18a2b
1 changed files with 6 additions and 6 deletions
|
@ -5,7 +5,7 @@ echo hi
|
||||||
|
|
||||||
|
|
||||||
end | cat | cat | begin ; echo hi ; end | begin ; begin ; echo hi ; end ; end arg
|
end | cat | cat | begin ; echo hi ; end | begin ; begin ; echo hi ; end ; end arg
|
||||||
' | ../fish_prettify
|
' | ../fish_indent
|
||||||
|
|
||||||
echo \nTest2
|
echo \nTest2
|
||||||
echo -n '
|
echo -n '
|
||||||
|
@ -18,7 +18,7 @@ switch aloha
|
||||||
echo hi
|
echo hi
|
||||||
|
|
||||||
end
|
end
|
||||||
' | ../fish_prettify
|
' | ../fish_indent
|
||||||
|
|
||||||
echo \nTest3
|
echo \nTest3
|
||||||
echo -n '
|
echo -n '
|
||||||
|
@ -33,7 +33,7 @@ function hello_world
|
||||||
|
|
||||||
echo hello
|
echo hello
|
||||||
end
|
end
|
||||||
' | ../fish_prettify
|
' | ../fish_indent
|
||||||
|
|
||||||
echo \nTest4
|
echo \nTest4
|
||||||
echo -n '
|
echo -n '
|
||||||
|
@ -53,7 +53,7 @@ switch foo #abc
|
||||||
qqq
|
qqq
|
||||||
case "*"
|
case "*"
|
||||||
echo sup
|
echo sup
|
||||||
end' | ../fish_prettify
|
end' | ../fish_indent
|
||||||
|
|
||||||
echo \nTest5
|
echo \nTest5
|
||||||
echo -n '
|
echo -n '
|
||||||
|
@ -65,7 +65,7 @@ switch beta
|
||||||
echo delta
|
echo delta
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
' | ../fish_prettify -i
|
' | ../fish_indent -i
|
||||||
|
|
||||||
echo \nTest6
|
echo \nTest6
|
||||||
# Test errors
|
# Test errors
|
||||||
|
@ -75,4 +75,4 @@ echo hi
|
||||||
else
|
else
|
||||||
echo bye
|
echo bye
|
||||||
end; echo alpha "
|
end; echo alpha "
|
||||||
' | ../fish_prettify
|
' | ../fish_indent
|
Loading…
Reference in a new issue