We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4d1061 commit b0a50a4Copy full SHA for b0a50a4
tests/Export-DbaRegServer.Tests.ps1
@@ -80,7 +80,7 @@ Describe $CommandName -Tag IntegrationTests {
80
It "should create a specific xml file when using Path" {
81
$results2 = $newGroup2 | Export-DbaRegServer -Path $newDirectory
82
$results2 -is [System.IO.FileInfo] | Should -Be $true
83
- $results2.FullName | Should -Match "C:\\temp"
+ $results2.FullName | Should -Match ([regex]::escape($newDirectory))
84
Get-Content -Path $results2 -Raw | Should -Match $group2
85
}
86
0 commit comments