From ebd0b790805b9887a22eb24efe435d3c9059ac64 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Wed, 14 Mar 2018 09:42:09 +0100 Subject: [PATCH] fix pester syntax for pester thes substring selection --- tests/ChallengeFile/01_Set-ChallengeFile.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ChallengeFile/01_Set-ChallengeFile.Tests.ps1 b/tests/ChallengeFile/01_Set-ChallengeFile.Tests.ps1 index 3feffe7..0a68473 100644 --- a/tests/ChallengeFile/01_Set-ChallengeFile.Tests.ps1 +++ b/tests/ChallengeFile/01_Set-ChallengeFile.Tests.ps1 @@ -54,7 +54,7 @@ Describe "Set-ChallengeFile" { if (Test-Path -Path ("{0}\PSCredentialStore" -f $env:ProgramData)) { Remove-Item -Path ("{0}\PSCredentialStore" -f $env:ProgramData) -Force -Recurse } - { Set-ChallengeFile } | Should -Throw "Could not create the parent data dir*" + { Set-ChallengeFile } | Should -Throw "Could not create the parent data dir" } } }