require errormsg to be specified before file.
This commit is contained in:
parent
ca394ebd95
commit
1105d03644
264 changed files with 305 additions and 623 deletions
|
|
@ -1,7 +1,5 @@
|
|||
discard """
|
||||
file: "tcollections.nim"
|
||||
output: '''
|
||||
'''
|
||||
output: ""
|
||||
"""
|
||||
|
||||
import deques, sequtils
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
discard """
|
||||
file: "ttables.nim"
|
||||
output: '''
|
||||
output: '''
|
||||
done
|
||||
And we get here
|
||||
1
|
||||
|
|
@ -142,7 +141,7 @@ block tindexby:
|
|||
tbl2.add("bar", elem1)
|
||||
tbl2.add("baz", elem2)
|
||||
doAssert indexBy(@[elem1,elem2], proc(x: TElem): string = x.bar) == tbl2, "element table"
|
||||
|
||||
|
||||
|
||||
block tableconstr:
|
||||
# Test if the new table constructor syntax works:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue