summary refs log tree commit diff stats
path: root/tests/accept/compile/tos.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/accept/compile/tos.nim')
-rwxr-xr-xtests/accept/compile/tos.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/accept/compile/tos.nim b/tests/accept/compile/tos.nim
index 9ab4295f8..fa9993cc9 100755
--- a/tests/accept/compile/tos.nim
+++ b/tests/accept/compile/tos.nim
@@ -6,7 +6,7 @@ proc walkDirTree(root: string) =
   for k, f in walkDir(root):
     case k 
     of pcFile, pcLinkToFile: echo(f)
-    of pcDirectory: walkDirTree(f)
-    of pcLinkToDirectory: nil
+    of pcDir: walkDirTree(f)
+    of pcLinkToDir: nil
 
 walkDirTree(".")