From 7f190e4d79a2013bbc731d0fb22ddeb07e4dd351 Mon Sep 17 00:00:00 2001 From: Oluwatoni Solarin-Sodara Date: Sun, 10 Jun 2018 08:53:27 +0100 Subject: [PATCH] update extension for cobetura and opencover extensions Fixes #111 --- src/coverlet.core/Reporters/CoberturaReporter.cs | 2 +- src/coverlet.core/Reporters/OpenCoverReporter.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coverlet.core/Reporters/CoberturaReporter.cs b/src/coverlet.core/Reporters/CoberturaReporter.cs index 92048509a..fce3643f6 100644 --- a/src/coverlet.core/Reporters/CoberturaReporter.cs +++ b/src/coverlet.core/Reporters/CoberturaReporter.cs @@ -12,7 +12,7 @@ public class CoberturaReporter : IReporter { public string Format => "cobertura"; - public string Extension => "xml"; + public string Extension => "cobertura.xml"; public string Report(CoverageResult result) { diff --git a/src/coverlet.core/Reporters/OpenCoverReporter.cs b/src/coverlet.core/Reporters/OpenCoverReporter.cs index cb2b60d74..98653966d 100644 --- a/src/coverlet.core/Reporters/OpenCoverReporter.cs +++ b/src/coverlet.core/Reporters/OpenCoverReporter.cs @@ -11,7 +11,7 @@ public class OpenCoverReporter : IReporter { public string Format => "opencover"; - public string Extension => "xml"; + public string Extension => "opencover.xml"; public string Report(CoverageResult result) {