Resolve SonarQube Tech Debt #3

Merged
bermudalamb merged 6 commits from fix/Sonarqube-Tech-Debt into main 2026-05-20 13:23:09 -05:00
Showing only changes of commit 2fae7738e3 - Show all commits
@@ -15,9 +15,12 @@ public class CommandVisitorTests
var param1b = InvokeFormatParameterName(visitor1, "p");
var param2a = InvokeFormatParameterName(visitor2, "p");
Assert.Multiple(() =>
{
Assert.That(param1a, Is.EqualTo("$1"), "first visitor's first parameter should be $1");
Assert.That(param1b, Is.EqualTo("$2"), "first visitor's second parameter should be $2");
Assert.That(param2a, Is.EqualTo("$1"), "second visitor must start at $1, not inherit visitor1's counter");
});
}
private static string InvokeFormatParameterName(CommandVisitor visitor, string name)