mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-06 13:07:48 +00:00
made some tests green
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
discard """
|
||||
line: 51
|
||||
file: "sysio.nim"
|
||||
line: 1804
|
||||
file: "system.nim"
|
||||
errormsg: "can raise an unlisted exception: ref EIO"
|
||||
"""
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
discard """
|
||||
file: "tsubrange.nim"
|
||||
outputsub: "value 50 out of range [EOutOfRange]"
|
||||
outputsub: "value out of range: 50 [EOutOfRange]"
|
||||
exitcode: "1"
|
||||
"""
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
discard """
|
||||
file: "tsubrange2.nim"
|
||||
outputsub: "value 50 out of range [EOutOfRange]"
|
||||
outputsub: "value out of range: 50 [EOutOfRange]"
|
||||
exitcode: "1"
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user