Skip to content

Commit 707f597

Browse files
committed
fixed broken test
1 parent b2e26bb commit 707f597

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Rubberduck.CodeAnalysis/Inspections/Concrete/ObsoleteWhileWendStatementInspection.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ public ObsoleteWhileWendStatementInspection(RubberduckParserState state)
2626
protected override IEnumerable<IInspectionResult> DoGetInspectionResults()
2727
{
2828
return Listener.Contexts.Where(context =>
29-
!context.IsIgnoringInspectionResultFor(State.DeclarationFinder,
30-
nameof(ObsoleteWhileWendStatementInspection)))
29+
!context.IsIgnoringInspectionResultFor(State.DeclarationFinder, AnnotationName))
3130
.Select(context => new QualifiedContextInspectionResult(this, InspectionResults.ObsoleteWhileWendStatementInspection, context));
3231
}
3332

0 commit comments

Comments
 (0)