add failure message

pull/59/head
theKBro 3 years ago
parent cb02acc1b2
commit 20f78594c4
  1. 4
      Test.LightweightIocContainer.Validation/IocValidatorTest.cs

@ -150,13 +150,13 @@ public class IocValidatorTest
if (aggregateException?.InnerExceptions[0] is not NoMatchingConstructorFoundException noMatchingConstructorFoundException)
{
Assert.Fail();
Assert.Fail("inner exception is not of type NoMatchingConstructorFoundException");
return;
}
if (noMatchingConstructorFoundException.InnerExceptions[0] is not ConstructorNotMatchingException iTest2CtorNotMatchingException)
{
Assert.Fail();
Assert.Fail("inner exception is not of type ConstructorNotMatchingException");
return;
}

Loading…
Cancel
Save