mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-06 03:44:14 +00:00
fixes tests
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user