From 990ac77d02d351d0f387d8a8c3f369eab17a50a7 Mon Sep 17 00:00:00 2001 From: Corniel Nobel Date: Thu, 20 Jul 2023 22:49:03 +0200 Subject: [PATCH] Update analyzers/tests/SonarAnalyzer.UnitTest/TestCases/RegularExpressions/RegexShouldNotContainMultipleSpaces.cs Co-authored-by: Pavel Mikula <57188685+pavel-mikula-sonarsource@users.noreply.github.com> --- .../RegularExpressions/RegexShouldNotContainMultipleSpaces.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analyzers/tests/SonarAnalyzer.UnitTest/TestCases/RegularExpressions/RegexShouldNotContainMultipleSpaces.cs b/analyzers/tests/SonarAnalyzer.UnitTest/TestCases/RegularExpressions/RegexShouldNotContainMultipleSpaces.cs index 3cbfbe2ca5a..1260c179411 100644 --- a/analyzers/tests/SonarAnalyzer.UnitTest/TestCases/RegularExpressions/RegexShouldNotContainMultipleSpaces.cs +++ b/analyzers/tests/SonarAnalyzer.UnitTest/TestCases/RegularExpressions/RegexShouldNotContainMultipleSpaces.cs @@ -60,7 +60,7 @@ class Noncompliant void Ctor() { - var patternOnly = new Regex("multiple white spaces"); // Noncompliant {{Regular expressions should not contain multiple spaces.}} + var patternOnly = new Regex("multiple white spaces"); // Noncompliant {{Regular expressions should not contain multiple spaces.}} // ^^^^^^^^^^^^^^^^^^^^^^^^^ var withConst = new Regex(Prefix + "multiple white spaces"); // Noncompliant