Skip to content

Commit

Permalink
Post build update
Browse files Browse the repository at this point in the history
  • Loading branch information
bjompen committed Oct 24, 2022
1 parent 27979d1 commit 906d8ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion PSSecretScanner.Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[string]$HelpSourcePath = "$PSScriptRoot\Docs\Help"
[string]$EzoutSourcePath = "$PSScriptRoot"

[string]$Version = '1.0.9'
[string]$Version = '2.0.0'

[string]$OutputPath = "$PSScriptRoot\Bin\$ModuleName\$Version"

Expand Down
4 changes: 2 additions & 2 deletions Tests/RegexPatternTests/RegexPattern.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ Describe 'Pattern verification tests' {
Context 'Should find patterns' -Tag 'match' {
It 'Should find pattern <_.Pattern>' -TestCases $ShouldFindPatterns {
$_.Pattern | Out-File TestDrive:\MatchFile.txt
$r = Find-Secret -Path TestDrive:\MatchFile.txt -OutputPreference Object
$r = Find-Secret -Path TestDrive:\MatchFile.txt
$r.count | Should -BeGreaterOrEqual 1
}
}
Context 'Should not find patterns' -Tag 'notmatch' {
It 'Should not find pattern <_.Pattern>' -TestCases $ShouldNotFindPatterns {
$_.Pattern | Out-File TestDrive:\MatchFile.txt
$r = Find-Secret -Path TestDrive:\MatchFile.txt -OutputPreference Object
$r = Find-Secret -Path TestDrive:\MatchFile.txt
$r.count | Should -Be 0
}
}
Expand Down

0 comments on commit 906d8ac

Please sign in to comment.