make tests green again
This commit is contained in:
parent
0926754e68
commit
ae82406c8b
13 changed files with 18 additions and 17 deletions
|
|
@ -20,8 +20,8 @@ proc noRaise(x: proc()) {.raises: [].} =
|
|||
# unknown call that might raise anything, but valid:
|
||||
x()
|
||||
|
||||
proc doRaise() {.raises: [EIO].} =
|
||||
raise newException(EIO, "IO")
|
||||
proc doRaise() {.raises: [IoError].} =
|
||||
raise newException(IoError, "IO")
|
||||
|
||||
proc use*() =
|
||||
noRaise(doRaise)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue