summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-11-21 10:48:19 +0100
committerAndreas Rumpf <rumpf_a@web.de>2017-11-21 11:27:35 +0100
commit58187f212067beff458e76d7c819750a9cfa100c (patch)
tree80a4620e95eb63b261f30ed10ef503d0f9731ad2 /tests
parent0e67fc745010aea9cf2d4e64a44d71b7f37a63e5 (diff)
downloadNim-58187f212067beff458e76d7c819750a9cfa100c.tar.gz
added a warning that the .deprecate statement is unreliable for routines
Diffstat (limited to 'tests')
-rw-r--r--tests/stdlib/tgetfileinfo.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stdlib/tgetfileinfo.nim b/tests/stdlib/tgetfileinfo.nim
index 1c897b702..019c2eb7f 100644
--- a/tests/stdlib/tgetfileinfo.nim
+++ b/tests/stdlib/tgetfileinfo.nim
@@ -61,7 +61,7 @@ proc testGetFileInfo =
   block:
     let
       testFile = open(getAppFilename())
-      testHandle = fileHandle(testFile)
+      testHandle = getFileHandle(testFile)
     try:
       discard getFileInfo(testFile)
       #echo("Handle : Valid File : Success")