From 51a32ce6f41ce2b4ad9745745d0df664567453c6 Mon Sep 17 00:00:00 2001 From: Brad Wilson Date: Sun, 3 Nov 2024 15:27:24 -0800 Subject: [PATCH] Incorrect message replacement for xUnit2032 --- src/xunit.analyzers/Utility/Descriptors.xUnit2xxx.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xunit.analyzers/Utility/Descriptors.xUnit2xxx.cs b/src/xunit.analyzers/Utility/Descriptors.xUnit2xxx.cs index bae8fc2e..61898050 100644 --- a/src/xunit.analyzers/Utility/Descriptors.xUnit2xxx.cs +++ b/src/xunit.analyzers/Utility/Descriptors.xUnit2xxx.cs @@ -293,7 +293,7 @@ public static partial class Descriptors "Type assertions based on 'assignable from' are confusingly named", Assertions, Info, - "The naming of Assert.{0} can be confusing. An overload of Assert.{0} is available with an exact match flag which can be set to false to perform the same operation." + "The naming of Assert.{0} can be confusing. An overload of Assert.{1} is available with an exact match flag which can be set to false to perform the same operation." ); // Placeholder for rule X2033