Fix IDE0051

This commit is contained in:
RoosterDragon
2023-02-19 12:29:02 +00:00
committed by Pavel Penev
parent 4991f2f892
commit 2d4119e88d
3 changed files with 4 additions and 23 deletions

View File

@@ -42,11 +42,6 @@ namespace OpenRA.Test
Assert.AreEqual(value, new IntegerExpression(expression).Evaluate(testValues), expression);
}
void AssertParseFailure(string expression)
{
Assert.Throws(typeof(InvalidDataException), () => new IntegerExpression(expression).Evaluate(testValues), expression);
}
void AssertParseFailure(string expression, string errorMessage)
{
var actualErrorMessage = Assert.Throws(typeof(InvalidDataException),