Skip to content

Commit

Permalink
adding back draw maps
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyjbrooks committed Apr 12, 2024
1 parent 7491f2b commit 868a5b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion variants/variants_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 868a5b3

Please sign in to comment.