Skip to content

Commit

Permalink
Remove new failing test
Browse files Browse the repository at this point in the history
Signed-off-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
  • Loading branch information
gmlewis committed Jan 21, 2023
1 parent 99972b6 commit 929a152
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions gerber/text_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"math"
"testing"

"github.com/gmlewis/go-fonts/fonts"
_ "github.com/gmlewis/go-fonts/fonts/freeserif"
)

Expand Down Expand Up @@ -225,19 +224,3 @@ func TestText(t *testing.T) {
})
}
}

func TestText_Empty(t *testing.T) {
// See: https://github.com/gmlewis/go-gerber/issues/8
g := New("textbug")
g.TopSilkscreen().Add(
Text(
25, 25,
1.0,
"", // should not cause panic
"freeserif",
12,
&TextOpts{XAlign: fonts.XCenter, YAlign: fonts.YCenter},
),
)
g.MBB() // should not panic
}

0 comments on commit 929a152

Please sign in to comment.