diff --git a/testdata/d2compiler/TestCompile/no_arrowheads_in_shape.exp.json b/testdata/d2compiler/TestCompile/no_arrowheads_in_shape.exp.json new file mode 100644 index 000000000..0b702370d --- /dev/null +++ b/testdata/d2compiler/TestCompile/no_arrowheads_in_shape.exp.json @@ -0,0 +1,15 @@ +{ + "graph": null, + "err": { + "errs": [ + { + "range": "d2/testdata/d2compiler/TestCompile/no_arrowheads_in_shape.d2,0:2:2-0:18:18", + "errmsg": "d2/testdata/d2compiler/TestCompile/no_arrowheads_in_shape.d2:1:3: \"target-arrowhead\" can only be used on connections" + }, + { + "range": "d2/testdata/d2compiler/TestCompile/no_arrowheads_in_shape.d2,1:2:35-1:18:51", + "errmsg": "d2/testdata/d2compiler/TestCompile/no_arrowheads_in_shape.d2:2:3: \"source-arrowhead\" can only be used on connections" + } + ] + } +}