From 868a5b3a01dde924ffababbec2cf1d0e81eb9f84 Mon Sep 17 00:00:00 2001 From: TJ Brooks Date: Fri, 12 Apr 2024 11:49:45 -0500 Subject: [PATCH] adding back draw maps --- variants/variants_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variants/variants_test.go b/variants/variants_test.go index 783dccc9..447997f4 100644 --- a/variants/variants_test.go +++ b/variants/variants_test.go @@ -189,7 +189,7 @@ func addArrow(encoder *xml.Encoder, startProvince godip.Province, endProvince go // Create svg files which can be inspected manually to check the binary map data is correct. func TestDrawMaps(t *testing.T) { - if "true" != "true" { + if os.Getenv("DRAW_MAPS") != "true" { fmt.Println("Skipping test to draw debug maps. Please use the environment variable DRAW_MAPS=true to enable.") return }