mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-16 06:39:25 +00:00
Revert "Throw error on entering non-existing type in Get-FormatData (#7434)
This reverts commit b754cd80d5.
Per this comment https://github.com/PowerShell/PowerShell/pull/7434#issuecomment-413696259
13 lines
360 B
PowerShell
13 lines
360 B
PowerShell
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
# Licensed under the MIT License.
|
|
Describe "Get-FormatData" -Tags "CI" {
|
|
|
|
Context "Check return type of Get-FormatData" {
|
|
|
|
It "Should return an object[] as the return type" {
|
|
$result = Get-FormatData
|
|
,$result | Should -BeOfType "System.Object[]"
|
|
}
|
|
}
|
|
}
|