From 904e9b666ab6767feaa3233cca6ad62942f14a39 Mon Sep 17 00:00:00 2001 From: Steve Gilham Date: Sat, 13 Feb 2021 16:00:27 +0000 Subject: [PATCH] And another couple --- Build/Pester.Tests.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Build/Pester.Tests.ps1 b/Build/Pester.Tests.ps1 index b8cb68a87..3833d3d30 100644 --- a/Build/Pester.Tests.ps1 +++ b/Build/Pester.Tests.ps1 @@ -50,7 +50,7 @@ Describe "Invoke-Altcover" { } if (Test-Path $x) { Remove-Item -force $x } - Invoke-AltCover -XmlReport $x -OutputDirectory $o -InputDirectory $i -AssemblyFilter ("Adapter", "FSharp", "nunit") -ReportFormat NCover -InformationAction Continue + Invoke-AltCover -Report $x -OutputDirectory $o -InputDirectory $i -AssemblyFilter ("Adapter", "FSharp", "nunit") -ReportFormat NCover -InformationAction Continue $o | Should -Exist $x | Should -Exist $xm = [xml](Get-Content $x) @@ -86,7 +86,7 @@ Describe "Invoke-Altcover" { try { $ev = "" - Invoke-AltCover -XmlReport $x -OutputDirectory $o -InputDirectory "./NoneSuch/xunit-dotnet/bin/Debug/netcoreapp2.0" -InPlace -ErrorVariable ev -ErrorAction SilentlyContinue + Invoke-AltCover -Report $x -OutputDirectory $o -InputDirectory "./NoneSuch/xunit-dotnet/bin/Debug/netcoreapp2.0" -InPlace -ErrorVariable ev -ErrorAction SilentlyContinue } finally {