From 0ce9d4960144468c12de493487ada62e8eb04f5d Mon Sep 17 00:00:00 2001 From: Araq Date: Sun, 6 Nov 2011 01:59:13 +0100 Subject: better exception behavior for os.removeFile and os.removeDir --- tests/tester.nim | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'tests/tester.nim') 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) = -- cgit 1.4.1-2-gfad0