diff --git a/Tests/Unit/MSFT_VirtualMemory.Tests.ps1 b/Tests/Unit/MSFT_VirtualMemory.Tests.ps1 index cbcb8aa1..b1aa40fc 100644 --- a/Tests/Unit/MSFT_VirtualMemory.Tests.ps1 +++ b/Tests/Unit/MSFT_VirtualMemory.Tests.ps1 @@ -9,7 +9,7 @@ $script:moduleRoot = Split-Path -Parent (Split-Path -Parent $PSScriptRoot) if ( (-not (Test-Path -Path (Join-Path -Path $script:moduleRoot -ChildPath 'DSCResource.Tests'))) -or ` (-not (Test-Path -Path (Join-Path -Path $script:moduleRoot -ChildPath 'DSCResource.Tests\TestHelper.psm1'))) ) { - & git.exe @('clone', 'https://github.com/PowerShell/DscResource.Tests.git', (Join-Path -Path $script:moduleRoot -ChildPath 'DscResource.Tests')) + & git @('clone', 'https://github.com/PowerShell/DscResource.Tests.git', (Join-Path -Path $script:moduleRoot -ChildPath 'DscResource.Tests')) } Import-Module -Name (Join-Path -Path $script:moduleRoot -ChildPath (Join-Path -Path 'DSCResource.Tests' -ChildPath 'TestHelper.psm1')) -Force