added Pester test for mode flags in ls output

This commit is contained in:
Peter Honeder 2015-08-06 16:35:06 +02:00
parent 3cd7620413
commit 3137e26e98

View file

@ -18,4 +18,8 @@
(Get-Item /usr/bin) | Should Not BeNullOrEmpty
(Get-Item ..) | Should Not BeNullOrEmpty
}
It "Should have mode flags set" {
ls / | foreach-object { $_.Mode | Should Not BeNullOrEmpty }
}
}