aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/read.in
diff options
context:
space:
mode:
Diffstat (limited to 'tests/read.in')
-rw-r--r--tests/read.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/read.in b/tests/read.in
index 53f9873b..f8787c5c 100644
--- a/tests/read.in
+++ b/tests/read.in
@@ -7,6 +7,11 @@ set -l IFS \t
count (echo one\ntwo)
set -l IFS
count (echo one\ntwo)
+echo [(echo -n one\ntwo)]
+count (echo one\ntwo\n)
+echo [(echo -n one\ntwo\n)]
+count (echo one\ntwo\n\n)
+echo [(echo -n one\ntwo\n\n)]
set -le IFS
function print_vars --no-scope-shadowing