mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Use -Skip:$IsWindows
Uses the $IsWindows etc. booleans from the Microsoft.PowerShell.Platform module instead of sourcing Test-Common repeatedly.
This commit is contained in:
1 parent
de6a452f63
commit
615eca6fd5
7 files changed
+9
-49
No files matched your search
@@ -1,5 +1,5 @@
|
||||
Describe "Add-Type" {
|
||||
It -Pending "Should not throw given a simple class definition" {
|
||||
It "Should not throw given a simple class definition" -Skip:$IsWindows {
|
||||
{ Add-Type -TypeDefinition "public static class foo { }" } | Should Not Throw
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user