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
10
tests/accept/run/tfinally.nim
Normal file
10
tests/accept/run/tfinally.nim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# Test return in try statement:
|
||||
|
||||
proc main: int =
|
||||
try:
|
||||
return 1
|
||||
finally:
|
||||
echo "came here"
|
||||
|
||||
discard main() #OUT came here
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue