diff --git a/testdata/d2compiler/TestCompile/invalid_gradient_color_stop.exp.json b/testdata/d2compiler/TestCompile/invalid_gradient_color_stop.exp.json new file mode 100644 index 000000000..49f1fffea --- /dev/null +++ b/testdata/d2compiler/TestCompile/invalid_gradient_color_stop.exp.json @@ -0,0 +1,11 @@ +{ + "graph": null, + "err": { + "errs": [ + { + "range": "d2/testdata/d2compiler/TestCompile/invalid_gradient_color_stop.d2,2:18:25-2:47:54", + "errmsg": "d2/testdata/d2compiler/TestCompile/invalid_gradient_color_stop.d2:3:19: expected \"fill\" to be a valid named color (\"orange\"), a hex code (\"#f0ff3a\"), or a gradient (\"linear-gradient(red, blue)\")" + } + ] + } +}