Skip to content

Commit 9941adb

Browse files
committed
Fix up unit tests
1 parent 4c71556 commit 9941adb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

DSCResources/MSFT_xVirtualMemory/MSFT_xVirtualMemory.psm1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ function Set-TargetResource
144144
if (-not $driveInfo.IsReady)
145145
{
146146
New-InvalidOperationException `
147-
-Message ($script:localizedData.DisableAutoManagePaging -f $driveInfo.Name)
147+
-Message ($script:localizedData.DriveNotReadyError -f $driveInfo.Name)
148148
}
149149

150150
$existingPageFileSetting = Get-PageFileSetting `
@@ -184,7 +184,7 @@ function Set-TargetResource
184184
if (-not $driveInfo.IsReady)
185185
{
186186
New-InvalidOperationException `
187-
-Message ($script:localizedData.DisableAutoManagePaging -f $driveInfo.Name)
187+
-Message ($script:localizedData.DriveNotReadyError -f $driveInfo.Name)
188188
}
189189

190190
$existingPageFileSetting = Get-PageFileSetting `
@@ -222,7 +222,7 @@ function Set-TargetResource
222222
if (-not $driveInfo.IsReady)
223223
{
224224
New-InvalidOperationException `
225-
-Message ($script:localizedData.DisableAutoManagePaging -f $driveInfo.Name)
225+
-Message ($script:localizedData.DriveNotReadyError -f $driveInfo.Name)
226226
}
227227

228228
$existingPageFileSetting = Get-PageFileSetting `

0 commit comments

Comments
 (0)