Skip to content

Commit ceb7bd3

Browse files
test: Adjusting Font Tests ( Fixes #16 )
1 parent 8ed138d commit ceb7bd3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Font.tests.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
describe Font {
22
it 'Gets fonts' {
3-
Get-Font
3+
$installedFonts = Get-Font
4+
$installedFonts.Count | Should -BeGreaterThan 1
45
}
56

67
it 'Can import a font' {
78
$importedFont = Get-Font | Get-Random | Import-Font
89
$importedFont.FontFamily | Should -BeLike '*'
910
$importedFont.UnitsPerEm | Should -BeGreaterThan 0
10-
}
11+
}
1112
}

0 commit comments

Comments
 (0)