Skip to content

Commit ce50472

Browse files
committed
Fixed an error which prevented an unit test from running
Signed-off-by: Dima Enns <[email protected]>
1 parent 5da2f2d commit ce50472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Tests.LambdaConverters.Wpf/ValidationRuleTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public void NoFunctions()
1919
// invalid error strategy
2020
ExceptionAssert.Throws<ArgumentOutOfRangeException>(
2121
() => Validator.Create<int>(errorStrategy: (RuleErrorStrategy)int.MaxValue),
22-
"ruleStrategy");
22+
"errorStrategy");
2323

2424
// with ConverterErrorStrategy.ReturnDefaultValue (default)
2525
Assert.AreEqual(null, Validator.Create<int>().Validate(1, null));

0 commit comments

Comments
 (0)