Skip to content

Commit

Permalink
Ensure consistent results
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveGilham committed Oct 15, 2022
1 parent d0ba710 commit 0666073
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions AltCover.Engine/Main.fs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ module internal Main =
CoverageParameters.coalesceBranches.Value <- false // ddFlag
CoverageParameters.staticFilter <- None
CoverageParameters.showGenerated.Value <- false
CoverageParameters.trivia.Value <- false

let internal validateCallContext predicate x =
if not (String.IsNullOrWhiteSpace x) then
Expand Down
3 changes: 2 additions & 1 deletion AltCover.Tests/Tests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -3461,6 +3461,7 @@ module AltCoverTests =
Report.reportGenerator ()

let path = sample1path
Main.init()

try
"Main"
Expand Down Expand Up @@ -3502,7 +3503,7 @@ module AltCoverTests =
test
<@
CoverageParameters.configurationHash = Some
"2QsURwpbBG6MQhnmFGfWowB0iwhnatSDEy5d7h6d6X0="
"UYZ+0a5G0Qzl3yx3ivPJjoKwu/Wb8OnzVaBLMTTKNzA="
@>
finally
CoverageParameters.nameFilters.Clear()
Expand Down

0 comments on commit 0666073

Please sign in to comment.