Skip to content

Commit 696ccf2

Browse files
committed
Extend test cases
Add all other interface functions to test cases.
1 parent c0f294e commit 696ccf2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

font_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,19 @@ import (
3030
var _ = Describe("Font", func() {
3131
Context("Go", func() {
3232
It("should be able to get the Go font face", func() {
33+
Expect(Go.Regular(nil)).ToNot(BeNil())
3334
Expect(Go.Bold(nil)).ToNot(BeNil())
35+
Expect(Go.Italic(nil)).ToNot(BeNil())
36+
Expect(Go.BoldItalic(nil)).ToNot(BeNil())
3437
})
3538
})
3639

3740
Context("Hack", func() {
3841
It("should be able to get the Hack font face", func() {
42+
Expect(Hack.Regular(nil)).ToNot(BeNil())
3943
Expect(Hack.Bold(nil)).ToNot(BeNil())
44+
Expect(Hack.Italic(nil)).ToNot(BeNil())
45+
Expect(Hack.BoldItalic(nil)).ToNot(BeNil())
4046
})
4147
})
4248
})

0 commit comments

Comments
 (0)