make tests green; better output for when megatest execution fails

This commit is contained in:
Araq 2018-12-10 15:06:01 +01:00
commit 4d616b5dc4
6 changed files with 6 additions and 5 deletions

View file

@ -106,7 +106,7 @@ proc readChar*(buffer: PBuffer): char {.inline.} = return readInt8(buffer).char
proc readBool*(buffer: PBuffer): bool {.inline.} = return readInt8(buffer).bool
when true:
when false:
var b = newBuffer(100)
var str = "hello there"
b.write str