summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-11-06 01:59:13 +0100
committerAraq <rumpf_a@web.de>2011-11-06 01:59:13 +0100
commit0ce9d4960144468c12de493487ada62e8eb04f5d (patch)
treedfdf93645314d86d550916061de0b4384eaa85f4 /tests
parent089e287c6e95edab56e610f7a615933e42aaff52 (diff)
downloadNim-0ce9d4960144468c12de493487ada62e8eb04f5d.tar.gz
better exception behavior for os.removeFile and os.removeDir
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tester.nim7
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) =