JS tests cleaned up
This commit is contained in:
parent
02cc9633eb
commit
c91cf3068f
2 changed files with 6 additions and 5 deletions
|
|
@ -4,12 +4,13 @@ bar 12
|
|||
2
|
||||
foo 12
|
||||
bar 12
|
||||
2'''
|
||||
2
|
||||
'''
|
||||
"""
|
||||
|
||||
# bug #1489
|
||||
proc foo(x: int) = echo "foo: ", x
|
||||
proc bar(y: var int) = echo "bar: ", y
|
||||
proc foo(x: int) = echo "foo ", x
|
||||
proc bar(y: var int) = echo "bar ", y
|
||||
|
||||
var x = 12
|
||||
foo(x)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue