aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/indent.in
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent.in')
-rw-r--r--tests/indent.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/indent.in b/tests/indent.in
index a1143c67..2d98dd8e 100644
--- a/tests/indent.in
+++ b/tests/indent.in
@@ -89,3 +89,18 @@ echo \nTest redir formatting
echo -n '
echo < stdin >>appended yes 2>&1 no > stdout maybe 2>& 4 | cat 2>| cat
' | ../test/root/bin/fish_indent
+
+echo \nTest normalization of keywords
+# issue 2921
+echo -n '
+i\
+f true
+ echo yes
+en\
+d
+
+"whil\
+e" true
+ "builtin" yes
+en"d"
+' | ../test/root/bin/fish_indent