start of tests refactoring; sqlite3 new wrapper fixes
This commit is contained in:
parent
6bc16904ed
commit
d913fdb280
173 changed files with 206 additions and 238 deletions
12
tests/accept/compile/tos.nim
Normal file
12
tests/accept/compile/tos.nim
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# test some things of the os module
|
||||
|
||||
import os
|
||||
|
||||
proc walkDirTree(root: string) =
|
||||
for k, f in walkDir(root):
|
||||
case k
|
||||
of pcFile, pcLinkToFile: echo(f)
|
||||
of pcDirectory: walkDirTree(f)
|
||||
of pcLinkToDirectory: nil
|
||||
|
||||
walkDirTree(".")
|
||||
Loading…
Add table
Add a link
Reference in a new issue