make run the default action of a test in tester
This commit is contained in:
parent
610283b9b0
commit
031bfdec6f
50 changed files with 313 additions and 46 deletions
|
|
@ -1,7 +1,9 @@
|
|||
discard """
|
||||
output: 100
|
||||
"""
|
||||
|
||||
var funcs: seq[proc (): int {.nimcall.}] = @[]
|
||||
for i in 0..10:
|
||||
funcs.add((proc (): int = return i * i))
|
||||
|
||||
echo(funcs[3]())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue