Skip to content

Commit 6a98d35

Browse files
committed
Tweaks to error message
1 parent e5df731 commit 6a98d35

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Egil.RazorComponents.Testing.Library.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<RepositoryUrl>https://github.com/egil/razor-components-testing-library</RepositoryUrl>
1515
<PackageProjectUrl>https://github.com/egil/razor-components-testing-library</PackageProjectUrl>
1616
<PackageTags>razor-components unit-testing testing blazor blazor-server-side blazor-client-side</PackageTags>
17-
<Version>0.1.0-preview7-19365-7-3</Version>
17+
<Version>0.1.0-preview7-19365-7-4</Version>
1818
<Authors>Egil Hansen</Authors>
1919
<Company>Egil Hansen</Company>
2020
<Product>Razor Component Testing Library</Product>

src/RazerComponentTestRenderer.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@ private static XmlDocument LoadRenderResult(string renderResults)
9292
catch (XmlException ex)
9393
{
9494
throw new RazorComponentRenderResultParseException($"An error occurred while trying to parse the render result of the test. {Environment.NewLine}" +
95-
$"{ex.Message}{Environment.NewLine} " +
96-
$"Result XML: {Environment.NewLine}" +
95+
$"{ex.Message} Result XML:{Environment.NewLine}" +
9796
$"{renderResultXml}", ex);
9897
}
9998
}

0 commit comments

Comments
 (0)