We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ed138d commit ceb7bd3Copy full SHA for ceb7bd3
Font.tests.ps1
@@ -1,11 +1,12 @@
1
describe Font {
2
it 'Gets fonts' {
3
- Get-Font
+ $installedFonts = Get-Font
4
+ $installedFonts.Count | Should -BeGreaterThan 1
5
}
6
7
it 'Can import a font' {
8
$importedFont = Get-Font | Get-Random | Import-Font
9
$importedFont.FontFamily | Should -BeLike '*'
10
$importedFont.UnitsPerEm | Should -BeGreaterThan 0
- }
11
+ }
12
0 commit comments