Skip to content

Commit

Permalink
fix all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alixander committed Jul 19, 2023
1 parent e08542e commit 342a05c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions d2renderers/d2svg/dark_theme/dark_theme_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"oss.terrastruct.com/d2/d2graph"
"oss.terrastruct.com/d2/d2layouts/d2dagrelayout"
"oss.terrastruct.com/d2/d2lib"
"oss.terrastruct.com/d2/d2renderers/d2fonts"
"oss.terrastruct.com/d2/d2renderers/d2svg"
"oss.terrastruct.com/d2/lib/log"
"oss.terrastruct.com/d2/lib/textmeasure"
Expand Down Expand Up @@ -436,6 +437,7 @@ func run(t *testing.T, tc testCase) {
diagram, _, err := d2lib.Compile(ctx, tc.script, &d2lib.CompileOptions{
Ruler: ruler,
LayoutResolver: layoutResolver,
FontFamily: go2.Pointer(d2fonts.HandDrawn),
}, renderOpts)
if !tassert.Nil(t, err) {
return
Expand Down

0 comments on commit 342a05c

Please sign in to comment.