File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -545,15 +545,15 @@ public interface ITest
545545 }
546546
547547 [ Theory ]
548- [ InlineData ( "a" ) ]
549- [ InlineData ( "see" ) ]
550- [ InlineData ( "seealso" ) ]
551- public async Task TestFullSentenceLinkAsync ( string tag )
548+ [ InlineData ( "a" , true ) ]
549+ [ InlineData ( "see" , true ) ]
550+ [ InlineData ( "seealso" , false ) ]
551+ public async Task TestFullSentenceLinkAsync ( string tag , bool insideSummary )
552552 {
553+ var surrounding = insideSummary ? ( Start : "<summary>" , End : "<summary>" ) : ( Start : string . Empty , End : string . Empty ) ;
554+
553555 var testCode = $@ "
554- /// <summary>
555- /// <{ tag } href=""someurl"">Periods aren't required to glow white at the end of a full-sentence link.</{ tag } >
556- /// </summary>
556+ /// { surrounding . Start } <{ tag } href=""someurl"">Periods aren't required to glow white at the end of a full-sentence link.</{ tag } >{ surrounding . End }
557557public interface ITest
558558{{
559559}}
You can’t perform that action at this time.
0 commit comments