Better name and docs for the 'nonBlockingReads' facility
This commit is contained in:
parent
8b863f7798
commit
dd63bbfd1c
3 changed files with 18 additions and 18 deletions
|
|
@ -139,8 +139,8 @@ procSuite "input stream":
|
|||
test "non-blocking reads":
|
||||
let s = fileInput(asciiTableFile, pageSize = 20)
|
||||
if s.readable:
|
||||
s.nonBlockingReads:
|
||||
check s.readAll.len == 20
|
||||
s.withReadableRange(20, r):
|
||||
check r.readAll.len == 20
|
||||
check s.readable
|
||||
|
||||
test "simple":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue