mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Rename IsCore to IsCoreCLR
This commit is contained in:
1 parent
9ba6ba359d
commit
41173a3b65
17 files changed
+33
-33
No files matched your search
@@ -1,4 +1,4 @@
|
||||
if ( $IsCore ) {
|
||||
if ( $IsCoreCLR ) {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ Describe "Type accelerators" -Tags "DRT" {
|
||||
}
|
||||
|
||||
It "Can query type accelerators" {
|
||||
if ( $IsCore ) { $count = 80 } else { $count = 82 }
|
||||
if ( $IsCoreCLR ) { $count = 80 } else { $count = 82 }
|
||||
$TypeAccelerators.Count -gt $count | Should Be $true
|
||||
$TypeAccelerators['xml'] | Should Be ([System.Xml.XmlDocument])
|
||||
$TypeAccelerators['AllowNull'] | Should Be ([System.Management.Automation.AllowNullAttribute])
|
||||
|
||||
Reference in new issue
Block a user