summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/macros/tprintf.nim16
-rw-r--r--tests/stdlib/tgetfileinfo.nim4
2 files changed, 2 insertions, 18 deletions
diff --git a/tests/macros/tprintf.nim b/tests/macros/tprintf.nim
deleted file mode 100644
index 94cbfbc2b..000000000
--- a/tests/macros/tprintf.nim
+++ /dev/null
@@ -1,16 +0,0 @@
-discard """
-  file: "tprintf.nim"
-  output: "Andreas Rumpf"
-"""
-# Test a printf proc
-
-proc printf(file: TFile, args: openarray[string]) =
-  var i = 0
-  while i < args.len:
-    write(file, args[i])
-    inc(i)
-
-printf(stdout, ["Andreas ", "Rumpf\n"])
-#OUT Andreas Rumpf
-
-
diff --git a/tests/stdlib/tgetfileinfo.nim b/tests/stdlib/tgetfileinfo.nim
index 019c2eb7f..e0b73da0c 100644
--- a/tests/stdlib/tgetfileinfo.nim
+++ b/tests/stdlib/tgetfileinfo.nim
@@ -77,8 +77,8 @@ proc testGetFileInfo =
   # Case 6 and 8
   block:
     let
-      testFile: TFile = nil
-      testHandle = TFileHandle(-1)
+      testFile: File = nil
+      testHandle = FileHandle(-1)
     try:
       discard getFileInfo(testFile)
       echo("Handle : Invalid File : Failure")