Fix the CI; Improve docs

This commit is contained in:
Zahary Karadjov 2022-01-22 20:01:20 +02:00
commit 37a183153c
No known key found for this signature in database
GPG key ID: C8936F8A3073D609
3 changed files with 11 additions and 7 deletions

BIN
tests/all_tests Executable file

Binary file not shown.

View file

@ -25,7 +25,7 @@ const line = "123456789123456789123456789123456789\n\n\n\n\n"
proc randomBytes(n: int): seq[byte] =
result.newSeq n
for i in 0 ..< n:
result[i] = byte(rand(line))
result[i] = byte(line[rand(line.len - 1)])
proc readAllAndClose(s: InputStream): seq[byte] =
while s.readable: