chore: regenerate testcases
This commit is contained in:
parent
6ee58d756e
commit
ad515e6110
2 changed files with 3 additions and 3 deletions
|
|
@ -1544,7 +1544,7 @@ d2/testdata/d2compiler/TestCompile/near-invalid.d2:14:9: near keys cannot be set
|
||||||
}
|
}
|
||||||
x.y -> z
|
x.y -> z
|
||||||
`,
|
`,
|
||||||
expErr: "d2/testdata/d2compiler/TestCompile/near_descendant_connect_to_outside.d2:3:12: a child of a near container cannot connect to outside",
|
expErr: "d2/testdata/d2compiler/TestCompile/near_descendant_connect_to_outside.d2:6:5: cannot connect objects from within a container, that has near constant set, to objects outside that container",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "nested_near_constant",
|
name: "nested_near_constant",
|
||||||
|
|
|
||||||
4
testdata/d2compiler/TestCompile/near_descendant_connect_to_outside.exp.json
generated
vendored
4
testdata/d2compiler/TestCompile/near_descendant_connect_to_outside.exp.json
generated
vendored
|
|
@ -4,8 +4,8 @@
|
||||||
"ioerr": null,
|
"ioerr": null,
|
||||||
"errs": [
|
"errs": [
|
||||||
{
|
{
|
||||||
"range": "d2/testdata/d2compiler/TestCompile/near_descendant_connect_to_outside.d2,2:11:21-2:19:29",
|
"range": "d2/testdata/d2compiler/TestCompile/near_descendant_connect_to_outside.d2,5:4:47-5:12:55",
|
||||||
"errmsg": "d2/testdata/d2compiler/TestCompile/near_descendant_connect_to_outside.d2:3:12: a child of a near container cannot connect to outside"
|
"errmsg": "d2/testdata/d2compiler/TestCompile/near_descendant_connect_to_outside.d2:6:5: cannot connect objects from within a container, that has near constant set, to objects outside that container"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue