require errormsg to be specified before file.

This commit is contained in:
Arne Döring 2018-11-29 16:07:51 +01:00 • committed by Araq
commit 1105d03644
264 changed files with 305 additions and 623 deletions

View file

@ -1,7 +1,5 @@
discard """
file: "tcollections.nim"
output: '''
'''
output: ""
"""
import deques, sequtils

View file

@ -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: