got rid of 'accept' dir in the tests
This commit is contained in:
parent
d0772feb08
commit
a274f3bf5b
264 changed files with 5 additions and 7 deletions
9
tests/compile/tseqcon2.nim
Executable file
9
tests/compile/tseqcon2.nim
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
import os
|
||||
|
||||
proc rec_dir(dir: string): seq[string] =
|
||||
result = @[]
|
||||
for kind, path in walk_dir(dir):
|
||||
if kind == pcDir:
|
||||
add(result, rec_dir(path))
|
||||
else:
|
||||
add(result, path)
|
||||
Loading…
Add table
Add a link
Reference in a new issue