From 4b50748dd0b5fe8b91102457df48d3d5cd9c3b64 Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Mon, 9 Jan 2023 13:31:27 -0800 Subject: [PATCH] d2ir: Final PR imports https://github.com/terrastruct/terrastruct-backend/pull/975/files#diff-1b00307a7a2bd1ffc68527a7df7c9c83327d8cd2dd00f4741ec6bd0b96605cd4 --- d2ast/d2ast.go | 2 ++ lib/env/env.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/d2ast/d2ast.go b/d2ast/d2ast.go index 2ffb448f1..d824ef367 100644 --- a/d2ast/d2ast.go +++ b/d2ast/d2ast.go @@ -1,3 +1,5 @@ +// TODO: Remove boxes and cleanup like d2ir +// // d2ast implements the d2 language's abstract syntax tree. // // Special characters to think about in parser: diff --git a/lib/env/env.go b/lib/env/env.go index eee0ddc65..07ba22eef 100644 --- a/lib/env/env.go +++ b/lib/env/env.go @@ -23,5 +23,5 @@ func DevOnly() bool { } func SkipGraphDiffTests() bool { - return os.Getenv("SKIP_GRAPH_DIFF_TESTS") == "on" + return os.Getenv("SKIP_GRAPH_DIFF_TESTS") != "" }