made some tests green

This commit is contained in:
Araq
2013-06-30 21:55:05 +02:00
parent 52851b722d
commit 1a5e30b053
4 changed files with 6 additions and 6 deletions

View File

@@ -46,8 +46,8 @@ proc write(f: TFile, c: cstring) = fputs(c, f)
{.pop.}
var
IOFBF {.importc: "_IOFBF", header: "<stdio.h>".}: cint
IONBF {.importc: "_IONBF", header: "<stdio.h>".}: cint
IOFBF {.importc: "_IOFBF", nodecl.}: cint
IONBF {.importc: "_IONBF", nodecl.}: cint
const
buf_size = 4000

View File

@@ -1,6 +1,6 @@
discard """
line: 51
file: "sysio.nim"
line: 1804
file: "system.nim"
errormsg: "can raise an unlisted exception: ref EIO"
"""

View File

@@ -1,6 +1,6 @@
discard """
file: "tsubrange.nim"
outputsub: "value 50 out of range [EOutOfRange]"
outputsub: "value out of range: 50 [EOutOfRange]"
exitcode: "1"
"""

View File

@@ -1,6 +1,6 @@
discard """
file: "tsubrange2.nim"
outputsub: "value 50 out of range [EOutOfRange]"
outputsub: "value out of range: 50 [EOutOfRange]"
exitcode: "1"
"""