save test
This commit is contained in:
parent
75ad59838b
commit
095e23ddad
2 changed files with 27 additions and 2 deletions
|
|
@ -2732,8 +2732,10 @@ g: |md
|
||||||
|
|
||||||
|
|
|
|
||||||
`,
|
`,
|
||||||
expErr: `
|
expErr: `d2/testdata/d2compiler/TestCompile/text_no_label.d2:14:1: block string cannot be empty
|
||||||
`,
|
d2/testdata/d2compiler/TestCompile/text_no_label.d2:15:1: block string cannot be empty
|
||||||
|
d2/testdata/d2compiler/TestCompile/text_no_label.d2:4:1: shape text must have a non-empty label
|
||||||
|
d2/testdata/d2compiler/TestCompile/text_no_label.d2:7:1: shape text must have a non-empty label`,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
23
testdata/d2compiler/TestCompile/text_no_label.exp.json
generated
vendored
Normal file
23
testdata/d2compiler/TestCompile/text_no_label.exp.json
generated
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
"graph": null,
|
||||||
|
"err": {
|
||||||
|
"errs": [
|
||||||
|
{
|
||||||
|
"range": "d2/testdata/d2compiler/TestCompile/text_no_label.d2,13:0:110-13:9:119",
|
||||||
|
"errmsg": "d2/testdata/d2compiler/TestCompile/text_no_label.d2:14:1: block string cannot be empty"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"range": "d2/testdata/d2compiler/TestCompile/text_no_label.d2,14:0:120-16:1:129",
|
||||||
|
"errmsg": "d2/testdata/d2compiler/TestCompile/text_no_label.d2:15:1: block string cannot be empty"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"range": "d2/testdata/d2compiler/TestCompile/text_no_label.d2,3:0:25-5:1:51",
|
||||||
|
"errmsg": "d2/testdata/d2compiler/TestCompile/text_no_label.d2:4:1: shape text must have a non-empty label"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"range": "d2/testdata/d2compiler/TestCompile/text_no_label.d2,6:0:52-8:1:74",
|
||||||
|
"errmsg": "d2/testdata/d2compiler/TestCompile/text_no_label.d2:7:1: shape text must have a non-empty label"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue