From 0896aa64b88bf56809872bc9593ad028740f8d62 Mon Sep 17 00:00:00 2001 From: jnm2 Date: Thu, 31 Mar 2022 11:12:16 -0400 Subject: [PATCH] does not belong inside --- .../DocumentationRules/SA1629UnitTests.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules/SA1629UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules/SA1629UnitTests.cs index ea0ef77a6..03f66e37e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules/SA1629UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules/SA1629UnitTests.cs @@ -545,15 +545,15 @@ public interface ITest } [Theory] - [InlineData("a")] - [InlineData("see")] - [InlineData("seealso")] - public async Task TestFullSentenceLinkAsync(string tag) + [InlineData("a", true)] + [InlineData("see", true)] + [InlineData("seealso", false)] + public async Task TestFullSentenceLinkAsync(string tag, bool insideSummary) { + var surrounding = insideSummary ? (Start: "", End: "") : (Start: string.Empty, End: string.Empty); + var testCode = $@" -/// -/// <{tag} href=""someurl"">Periods aren't required to glow white at the end of a full-sentence link. -/// +/// {surrounding.Start}<{tag} href=""someurl"">Periods aren't required to glow white at the end of a full-sentence link.{surrounding.End} public interface ITest {{ }}