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
|
|
@ -1,21 +0,0 @@
|
|||
discard """
|
||||
file: "tfinally.nim"
|
||||
output: "came here 3"
|
||||
"""
|
||||
# Test return in try statement:
|
||||
|
||||
proc main: int =
|
||||
try:
|
||||
try:
|
||||
return 1
|
||||
finally:
|
||||
stdout.write("came ")
|
||||
return 2
|
||||
finally:
|
||||
stdout.write("here ")
|
||||
return 3
|
||||
|
||||
echo main() #OUT came here 3
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue