From c5aa1198c91c12c1a2c683eff9d7298550b785bb Mon Sep 17 00:00:00 2001 From: Steven Edwards Date: Fri, 4 Sep 2015 15:38:01 -0400 Subject: [PATCH] Remove TestStyle. --- truetype/truetype_test.go | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/truetype/truetype_test.go b/truetype/truetype_test.go index 6dda11b..1fa2d8b 100644 --- a/truetype/truetype_test.go +++ b/truetype/truetype_test.go @@ -234,29 +234,6 @@ func TestName(t *testing.T) { } } -func TestStyle(t *testing.T) { - testCases := map[string]string{ - "luxisr": "Regular", - "luximr": "Regular", - "luxirr": "Regular", - } - - for name, want := range testCases { - f, testdataIsOptional, err := parseTestdataFont(name) - if err != nil { - if testdataIsOptional { - t.Log(err) - } else { - t.Fatal(err) - } - continue - } - if got := f.Name(NameIDFontSubfamily); got != want { - t.Errorf("%s: got %q, want %q", name, got, want) - } - } -} - type scalingTestData struct { advanceWidth fixed.Int26_6 bounds fixed.Rectangle26_6