diff options
author | Kevin Ballard <kevin@sb.org> | 2014-09-21 20:00:26 -0700 |
---|---|---|
committer | Kevin Ballard <kevin@sb.org> | 2014-09-21 20:00:26 -0700 |
commit | a012aedb31b4b959dfd66d6643c43564408a9f00 (patch) | |
tree | 67046b85811cf4050b05481c3f7b94976b6014e6 /tests/read.out | |
parent | a9c8b755992703f5499e2da91d50579cbd65046d (diff) |
Fix incorrect error on `read` with 1-character input
When `read` is given a single character of input (including the
newline), it was bailing as if it had been given no input. This is
incorrect.
Diffstat (limited to 'tests/read.out')
-rw-r--r-- | tests/read.out | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/read.out b/tests/read.out index d8cf948d..43b016db 100644 --- a/tests/read.out +++ b/tests/read.out @@ -17,6 +17,7 @@ two 1 '' 1 '' 1 'test' 1 '' 1 '' 1 'foo' 1 'bar' 1 ' baz' +0 a 1 'hello' 1 'h' 1 'ello' |