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
13
tests/accept/compile/twalker.nim
Normal file
13
tests/accept/compile/twalker.nim
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# iterate over all files with a given filter:
|
||||
|
||||
import
|
||||
os, times
|
||||
|
||||
proc main(filter: string) =
|
||||
for filename in walkFiles(filter):
|
||||
writeln(stdout, filename)
|
||||
|
||||
for key, val in iterOverEnvironment():
|
||||
writeln(stdout, key & '=' & val)
|
||||
|
||||
main("*.nim")
|
||||
Loading…
Add table
Add a link
Reference in a new issue