summary refs log tree commit diff stats
path: root/tests/stdlib/tos.nim
diff options
context:
space:
mode:
authorAudun Wilhelmsen <skyfex@gmail.com>2014-02-23 00:26:46 +0100
committerAudun Wilhelmsen <skyfex@gmail.com>2014-02-23 00:26:46 +0100
commit1250db507533d1e11b2c451bd9bf6993beea1169 (patch)
treecb677028946b4fd441d743bb4309c0d63ea7b36b /tests/stdlib/tos.nim
parent739b4f214b62f55f5fcfc8c71a246c385146fca8 (diff)
parent3b5825e9bcf09bb6da98601d07af10c2640f4cd1 (diff)
downloadNim-1250db507533d1e11b2c451bd9bf6993beea1169.tar.gz
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
Diffstat (limited to 'tests/stdlib/tos.nim')
-rw-r--r--tests/stdlib/tos.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stdlib/tos.nim b/tests/stdlib/tos.nim
index fa9993cc9..ebe577b00 100644
--- a/tests/stdlib/tos.nim
+++ b/tests/stdlib/tos.nim
@@ -7,6 +7,6 @@ proc walkDirTree(root: string) =
     case k 
     of pcFile, pcLinkToFile: echo(f)
     of pcDir: walkDirTree(f)
-    of pcLinkToDir: nil
+    of pcLinkToDir: discard
 
 walkDirTree(".")