aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/read.out
diff options
context:
space:
mode:
Diffstat (limited to 'tests/read.out')
-rw-r--r--tests/read.out12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/read.out b/tests/read.out
index 0de98831..d8cf948d 100644
--- a/tests/read.out
+++ b/tests/read.out
@@ -16,6 +16,7 @@ two
1 ''
1 '' 1 ''
1 'test' 1 '' 1 ''
+1 'foo' 1 'bar' 1 ' baz'
1 'hello'
1 'h' 1 'ello'
@@ -42,3 +43,14 @@ test
tes
tin
t
+
+# read -z tests
+testing
+test ing
+newline
+
+1 'test' 1 'ing'
+1 'test' 1 ''
+1 'foo' 1 'bar'
+2 'foo' 'bar'
+2 'baz' 'quux'