From 7740ab76f88c9efd4071f10a078107e15e5f5984 Mon Sep 17 00:00:00 2001 From: devlooped-bot Date: Wed, 31 Jul 2024 18:24:40 +0000 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20files=20with=20dotn?= =?UTF-8?q?et-file=20sync=20#=20devlooped/dotnet-trx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix markup style error if test contains [ or ] https://github.com/devlooped/dotnet-trx/commit/76fa22f --- .netconfig | 4 ++-- src/dotnet-retest/TrxCommand.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.netconfig b/.netconfig index 6c22d50..827b98d 100644 --- a/.netconfig +++ b/.netconfig @@ -95,8 +95,8 @@ weak [file "src/dotnet-retest/TrxCommand.cs"] url = https://github.com/devlooped/dotnet-trx/blob/main/src/dotnet-trx/TrxCommand.cs - sha = 4727a27caac06f6ab0f04a7846c27c607568fa79 - etag = 5b9909076141ed31eefb69075c74f5237180ae4ae342bcdb3696126b8c02adec + sha = 76fa22ff0c3d9838ab0c335c782c8204f14293d5 + etag = 36ecd31b8397646046671ca3950e7032d5ca21fb28b2135e7712b1b6bf196b96 weak [file "src/dotnet-retest/Process.cs"] url = https://github.com/devlooped/dotnet-trx/blob/main/src/dotnet-trx/Process.cs diff --git a/src/dotnet-retest/TrxCommand.cs b/src/dotnet-retest/TrxCommand.cs index 8fc4c24..050008c 100644 --- a/src/dotnet-retest/TrxCommand.cs +++ b/src/dotnet-retest/TrxCommand.cs @@ -130,7 +130,7 @@ public override int Execute(CommandContext context, TrxSettings settings) foreach (var result in results) { - var test = result.Attribute("testName")!.Value; + var test = result.Attribute("testName")!.Value.EscapeMarkup(); var elapsed = TimeSpan.Parse(result.Attribute("duration")!.Value); var output = settings.Output ? result.CssSelectElement("StdOut")?.Value : default;