Mark Write-Information test as pending on macOS

This commit is contained in:
Sergei Vorobev 2017-01-28 09:14:23 -08:00 committed by Mike Richmond
parent b37371b3dd
commit 8517b8dafb

View file

@ -83,7 +83,7 @@ Describe "Stream writer tests" -Tags "CI" {
$ps.Dispose()
}
It "Write-Information outputs an information object" {
It "Write-Information outputs an information object" -Pending:($IsOSX) {
# redirect the streams is sufficient
$result = Write-Information "Test Message" *>&1
$result.GetType().Fullname | Should be "System.Management.Automation.InformationRecord"