Skip to content

Commit 677b5ec

Browse files
committed
fix test
1 parent ca2d441 commit 677b5ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dsc/tests/dsc_args.tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,8 @@ resources:
309309
"$TestDrive/tracing.txt" | Should -FileContentMatchExactly 'Can not perform this operation on the adapter'
310310
}
311311

312-
It 'Invalid --target-path' {
313-
dsc config --target-path /invalid/path get -p "$PSScriptRoot/../examples/groups.dsc.yaml" 2> $TestDrive/tracing.txt
312+
It 'Invalid --system-root' {
313+
dsc config --system-root /invalid/path get -p "$PSScriptRoot/../examples/groups.dsc.yaml" 2> $TestDrive/tracing.txt
314314
$LASTEXITCODE | Should -Be 1
315315
"$TestDrive/tracing.txt" | Should -FileContentMatchExactly "Target path '/invalid/path' does not exist"
316316
}

0 commit comments

Comments
 (0)