Skip to content

Commit 4e205d0

Browse files
authored
Fix for trx beautifier (microsoft#1709)
1 parent d53c14f commit 4e205d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.TestPlatform.Extensions.TrxLogger/TrxLogger.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ internal virtual void PopulateTrxFile(string trxFileName, XmlElement rootElement
379379

380380
using (var fs = File.Open(trxFileName, FileMode.Create))
381381
{
382-
using (XmlWriter writer = XmlWriter.Create(fs, new XmlWriterSettings { NewLineHandling = NewLineHandling.Entitize }))
382+
using (XmlWriter writer = XmlWriter.Create(fs, new XmlWriterSettings { NewLineHandling = NewLineHandling.Entitize, Indent = true }))
383383
{
384384
rootElement.OwnerDocument.Save(writer);
385385
writer.Flush();

0 commit comments

Comments
 (0)