diff --git a/test/Docfx.MarkdigEngine.Extensions.Tests/PlantUmlTest.cs b/test/Docfx.MarkdigEngine.Extensions.Tests/PlantUmlTest.cs index 1456fab9ebb..2727c4b07da 100644 --- a/test/Docfx.MarkdigEngine.Extensions.Tests/PlantUmlTest.cs +++ b/test/Docfx.MarkdigEngine.Extensions.Tests/PlantUmlTest.cs @@ -1,6 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. +using System.Text.RegularExpressions; using FluentAssertions; using Xunit; @@ -26,6 +27,10 @@ public void TestRenderSvg_SequenceDiagram() }).TrimEnd(); result.Should().StartWith("""
tags (See: https://github.com/plantuml/plantuml-server/issues/342) + result = Regex.Replace(result, @"", ""); + result.Should().EndWith("""hello
"""); } }