diff options
author | Araq <rumpf_a@web.de> | 2011-11-06 01:59:13 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-11-06 01:59:13 +0100 |
commit | 0ce9d4960144468c12de493487ada62e8eb04f5d (patch) | |
tree | dfdf93645314d86d550916061de0b4384eaa85f4 /tests | |
parent | 089e287c6e95edab56e610f7a615933e42aaff52 (diff) | |
download | Nim-0ce9d4960144468c12de493487ada62e8eb04f5d.tar.gz |
better exception behavior for os.removeFile and os.removeDir
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/tester.nim | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/tester.nim b/tests/tester.nim index 9bf16d84d..42516fe56 100755 --- a/tests/tester.nim +++ b/tests/tester.nim @@ -272,12 +272,7 @@ proc run(r: var TResults, dir, options: string) = const rodfilesDir = "tests/rodfiles" -proc delNimCache() = - try: - removeDir(rodfilesDir / "nimcache") - except EOS: - nil - +proc delNimCache() = removeDir(rodfilesDir / "nimcache") proc plusCache(options: string): string = return options & " --symbolFiles:on" proc runRodFiles(r: var TResults, options: string) = |