mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
added Pester test for mode flags in ls output
This commit is contained in:
@@ -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 }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user