From 7e93c58df88cc682403f49586da86fe872245fdf Mon Sep 17 00:00:00 2001 From: Gavin Nishizawa Date: Fri, 27 Oct 2023 21:01:15 -0700 Subject: [PATCH] test now passes --- .../TestCompile/no_arrowheads_in_shape.exp.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 testdata/d2compiler/TestCompile/no_arrowheads_in_shape.exp.json 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" + } + ] + } +}