test-lib: set $TRASH_DIRECTORY earlier
[gitweb.git] / t / chainlint / here-doc.test
index bd36f6e1d35f6a423acc6630ef8b24004f322dcf..ad4ce8afd9b55650a2ce3751fbef3d67d07d534d 100644 (file)
@@ -7,6 +7,27 @@ quoth the raven,
 nevermore...
 EOF
 
+# LINT: swallow here-doc with arbitrary tag
+cat <<-Arbitrary_Tag_42 >foo &&
+snoz
+boz
+woz
+Arbitrary_Tag_42
+
+# LINT: swallow 'quoted' here-doc
+cat <<'FUMP' >bar &&
+snoz
+boz
+woz
+FUMP
+
+# LINT: swallow "quoted" here-doc
+cat <<"zump" >boo &&
+snoz
+boz
+woz
+zump
+
 # LINT: swallow here-doc (EOF is last line of test)
 horticulture <<\EOF
 gomez