summary refs log tree commit diff stats
path: root/tests/misc/tdllvar.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/tdllvar.nim')
-rw-r--r--tests/misc/tdllvar.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc/tdllvar.nim b/tests/misc/tdllvar.nim
index ab767770c..5a31dfbbb 100644
--- a/tests/misc/tdllvar.nim
+++ b/tests/misc/tdllvar.nim
@@ -2,9 +2,9 @@ import os
 
 proc getDllName: string = 
   result = "mylib.dll"
-  if ExistsFile(result): return
+  if fileExists(result): return
   result = "mylib2.dll"
-  if ExistsFile(result): return
+  if fileExists(result): return
   quit("could not load dynamic library")
 
 proc myImport(s: cstring) {.cdecl, importc, dynlib: getDllName().}