system.nim: remove deprecated symbols
This commit is contained in:
parent
cecce80d42
commit
c7298561c1
3 changed files with 2 additions and 92 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue