mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
461ef3c518
* test/indent/shell.sh: * test/indent/shell.rc: Add some test cases.
38 lines
504 B
Bash
Executable File
38 lines
504 B
Bash
Executable File
#!/bin/rc
|
|
|
|
if (foo) {
|
|
echo 1 \
|
|
toto \
|
|
tutu
|
|
titi
|
|
}
|
|
if not {
|
|
echo 2
|
|
}
|
|
|
|
if (foo)
|
|
echo 3 # KNOWN INDENT BUG
|
|
if not
|
|
echo 4 # KNOWN INDENT BUG
|
|
|
|
switch ($a) {
|
|
case 3
|
|
echo 4
|
|
case 5
|
|
echo 7
|
|
for (i in a b c) {
|
|
echo $i
|
|
}
|
|
for (i in a b c)
|
|
echo "$i" # KNOWN INDENT BUG
|
|
echo titi
|
|
if (foo)
|
|
echo 3 # KNOWN INDENT BUG
|
|
if not
|
|
echo 4 # KNOWN INDENT BUG
|
|
|
|
case *
|
|
echo other
|
|
}
|
|
|