From a1c753a4138bb2cb0cee1fceebb794988cee0b8e Mon Sep 17 00:00:00 2001 From: Alexander Wang Date: Thu, 27 Apr 2023 14:03:15 -0700 Subject: [PATCH] update tests --- e2etests/stable_test.go | 4 ++-- e2etests/todo_test.go | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/e2etests/stable_test.go b/e2etests/stable_test.go index 91cc4a39f..e685d488d 100644 --- a/e2etests/stable_test.go +++ b/e2etests/stable_test.go @@ -723,7 +723,7 @@ eee.shape: document eee <- aaa.ccc (eee <- aaa.ccc)[0]: '222' `, - dagreFeatureError: `Connection "(aaa.ccc -- aaa)[0]" goes from a container to a descendant, but layout engine "dagre" does not support this.`, + dagreFeatureError: `Connection "(aaa.ccc -- aaa)[0]" goes from a container to a descendant, but layout engine "dagre" does not support this. See https://d2lang.com/tour/layouts/#layout-specific-functionality for more.`, }, { name: "chaos2", @@ -2133,7 +2133,7 @@ c: { a } `, - dagreFeatureError: `Object "a" has attribute "width" and/or "height" set, but layout engine "dagre" does not support dimensions set on containers.`, + dagreFeatureError: `Object "a" has attribute "width" and/or "height" set, but layout engine "dagre" does not support dimensions set on containers. See https://d2lang.com/tour/layouts/#layout-specific-functionality for more.`, }, { name: "crow_foot_arrowhead", diff --git a/e2etests/todo_test.go b/e2etests/todo_test.go index 5568363af..d6fa346ca 100644 --- a/e2etests/todo_test.go +++ b/e2etests/todo_test.go @@ -14,14 +14,14 @@ func testTodo(t *testing.T) { container.first -> container.second: 1->2 container -> container.second: c->2 `, - dagreFeatureError: `Connection "(container -> container.second)[0]" goes from a container to a descendant, but layout engine "dagre" does not support this.`, + dagreFeatureError: `Connection "(container -> container.second)[0]" goes from a container to a descendant, but layout engine "dagre" does not support this. See https://d2lang.com/tour/layouts/#layout-specific-functionality for more.`, }, { name: "child_parent_edges", script: `a.b -> a a.b -> a.b.c a.b.c.d -> a.b`, - dagreFeatureError: `Connection "(a.b -> a)[0]" goes from a container to a descendant, but layout engine "dagre" does not support this.`, + dagreFeatureError: `Connection "(a.b -> a)[0]" goes from a container to a descendant, but layout engine "dagre" does not support this. See https://d2lang.com/tour/layouts/#layout-specific-functionality for more.`, }, { name: "container_label_loop", @@ -29,7 +29,7 @@ a.b.c.d -> a.b`, b -> c } a -> a`, - dagreFeatureError: `Connection "(a -> a)[0]" is a self loop on a container, but layout engine "dagre" does not support this.`, + dagreFeatureError: `Connection "(a -> a)[0]" is a self loop on a container, but layout engine "dagre" does not support this. See https://d2lang.com/tour/layouts/#layout-specific-functionality for more.`, }, { // as nesting gets deeper, the groups advance towards `c` and may overlap its lifeline