Skip to content

Commit f78d06e

Browse files
committed
Remove unreachable test code
1 parent e6c5b10 commit f78d06e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules/SA1605UnitTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,8 @@ protected override Project ApplyCompilationOptions(Project project)
347347

348348
protected override string GetSettings()
349349
{
350-
return this.currentTestSettings ?? base.GetSettings();
350+
Assert.NotNull(this.currentTestSettings);
351+
return this.currentTestSettings;
351352
}
352353

353354
protected override IEnumerable<DiagnosticAnalyzer> GetCSharpDiagnosticAnalyzers()

0 commit comments

Comments
 (0)