make tests green again
This commit is contained in:
parent
0926754e68
commit
ae82406c8b
13 changed files with 18 additions and 17 deletions
|
|
@ -3,7 +3,7 @@ template withOpenFile(f: untyped, filename: string, mode: FileMode,
|
|||
actions: untyped): untyped =
|
||||
block:
|
||||
# test that 'f' is implicitly 'injecting':
|
||||
var f: TFile
|
||||
var f: File
|
||||
if open(f, filename, mode):
|
||||
try:
|
||||
actions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue