Skip to content

Commit 432ef15

Browse files
authored
Update CollectionShouldBeInDescendingOrder.cs
fix missing parentheses in message
1 parent cdd9a01 commit 432ef15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FluentAssertions.BestPractices/Tips/Collections/CollectionShouldBeInDescendingOrder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class CollectionShouldBeInDescendingOrderAnalyzer : FluentAssertionsAnaly
1414
public const string DiagnosticId = Constants.Tips.Collections.CollectionShouldBeInDescendingOrder;
1515
public const string Category = Constants.Tips.Category;
1616

17-
public const string Message = "Use {0} .Should() followed by .BeInDescendingOrder instead.";
17+
public const string Message = "Use {0} .Should() followed by .BeInDescendingOrder() instead.";
1818

1919
protected override DiagnosticDescriptor Rule => new DiagnosticDescriptor(DiagnosticId, Title, Message, Category, DiagnosticSeverity.Info, true);
2020
protected override IEnumerable<FluentAssertionsCSharpSyntaxVisitor> Visitors

0 commit comments

Comments
 (0)