summaryrefslogtreecommitdiffstats
path: root/tests/heredoc2.sub
diff options
context:
space:
mode:
Diffstat (limited to 'tests/heredoc2.sub')
-rw-r--r--tests/heredoc2.sub9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/heredoc2.sub b/tests/heredoc2.sub
new file mode 100644
index 0000000..7e97ed8
--- /dev/null
+++ b/tests/heredoc2.sub
@@ -0,0 +1,9 @@
+TEST=$(cat <<EOF | sort -u
+abc
+geh
+def
+abc
+EOF
+)
+
+echo $TEST