Skip to content

Commit 31a14d4

Browse files
committed
fix staticcheck warning
1 parent 5230d65 commit 31a14d4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

font/font_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import (
88

99
hb "github.com/go-text/typesetting-utils/harfbuzz"
1010
td "github.com/go-text/typesetting-utils/opentype"
11-
"github.com/go-text/typesetting/font/opentype"
1211
ot "github.com/go-text/typesetting/font/opentype"
1312
"github.com/go-text/typesetting/font/opentype/tables"
1413
tu "github.com/go-text/typesetting/testutils"
@@ -164,7 +163,7 @@ func TestGDEFBlocklist(t *testing.T) {
164163
file, err := hb.Files.ReadFile("harfbuzz_reference/in-house/macos/System/Library/Fonts/Supplemental/Courier New.ttf")
165164
tu.AssertNoErr(t, err)
166165

167-
fp, err := opentype.NewLoader(bytes.NewReader(file))
166+
fp, err := ot.NewLoader(bytes.NewReader(file))
168167
tu.AssertNoErr(t, err)
169168

170169
ft, err := NewFont(fp)

0 commit comments

Comments
 (0)