make tests green again

This commit is contained in:
Andreas Rumpf 2018-07-05 19:14:18 +02:00
commit ae82406c8b
13 changed files with 18 additions and 17 deletions

View file

@ -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