bbebf2f76a
- Pester source code moved to `test/Pester`, deleted `ext-src`. - Pester tests (.ps1 files) moved to `test/powershell` - xUnit tests (.cs files) moved to `test/csharp` - Third-party script test moved to `test/shebang`
13 lines
365 B
PowerShell
13 lines
365 B
PowerShell
Describe "Get-FormatData" {
|
|
|
|
Context "Check return type of Get-FormatData" {
|
|
|
|
It "Should return an object[] as the return type" {
|
|
(Get-FormatData).GetType() | Should be System.Object[]
|
|
}
|
|
|
|
It "Should return a System.Object[] with a count greater than 0" {
|
|
(Get-formatData).Count | Should BeGreaterThan 0
|
|
}
|
|
}
|
|
}
|