From d9387f771d68f62513feca0d4ecf4395d8e38f73 Mon Sep 17 00:00:00 2001 From: Alexander Wang Date: Tue, 22 Oct 2024 14:18:12 -0600 Subject: [PATCH] fix format tests --- d2format/format_test.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/d2format/format_test.go b/d2format/format_test.go index b87b3eb919..e70783311f 100644 --- a/d2format/format_test.go +++ b/d2format/format_test.go @@ -152,7 +152,7 @@ meow diagram: int {constraint: foreign_key} } meow <- diagrams.id - + steps: { shape: sql_table id: {type: int; constraint: primary_key} @@ -664,8 +664,8 @@ x: @"x/../file" b: { e scenarios: { - p: { - x + p: { + x } } } @@ -677,14 +677,14 @@ x: @"x/../file" exp: `layers: { b: { e - + scenarios: { p: { x } } } - + steps: { a } @@ -762,7 +762,7 @@ only-layers: { X Y } - + layers: { Z } @@ -772,10 +772,10 @@ layers: { Test super nested: { base-layer last-layer - + layers: { layer-board - + layers: { grand-child-layer: { grand-child-board @@ -788,7 +788,7 @@ layers: { scenarios: { scenario-1: { non-step - + steps: { step-1: { Test