fixes tests

This commit is contained in:
ringabout
2023-03-25 09:45:01 +08:00
parent 3c36fc17dc
commit bde9abb2f7
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
discard """
errormsg: "When mixing named fields and unnamed fields, every field needs to be initialized in order"
file: "t5965_1.nim"
line: 10
"""
type Foo = object
a, b, c: int

View File

@@ -1,5 +1,5 @@
discard """
errormsg: "incorrect object construction syntax"
errormsg: "The object construction is given more fields than required"
file: "t5965_2.nim"
line: 10
"""