You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assert.That(exception.Message,Is.EqualTo(string.Format("Expected view model {{\"Property1\":\"{0}\",\"Property2\":{1}}} to pass the given condition (m => m.Property1 == null), but it failed.",_model.Property1,_model.Property2)));
75
+
Assert.That(exception.Message,Is.EqualTo(string.Format("Expected view model {{\"Property1\":\"{0}\",\"Property2\":{1}}} to pass the given condition (m => (m.Property1 == null)), but it failed.",_model.Property1,_model.Property2)));
Assert.That(exception.Message,Is.EqualTo(string.Format("Expected view model {{\"Property1\":\"{0}\",\"Property2\":{1}}} to pass the given condition (m => m.Property1 == null && m.Property2 == 2), but it failed.",_model.Property1,_model.Property2)));
84
+
Assert.That(exception.Message,Is.EqualTo(string.Format("Expected view model {{\"Property1\":\"{0}\",\"Property2\":{1}}} to pass the given condition (m => ((m.Property1 == null) || (m.Property2 == 1))), but it failed.",_model.Property1,_model.Property2)));
Assert.That(exception.Message,Is.EqualTo(string.Format("Expected view model {{\"Property1\":\"{0}\",\"Property2\":{1}}} to pass the given condition (m => m.Property1 == null AndAlso m.Property2 == 2), but it failed.",_model.Property1,capturedOuterVariable)));
94
+
Assert.That(exception.Message,Is.EqualTo(string.Format("Expected view model \"{0}\" to pass the given condition (m => (m == \"ab\")), but it failed.",_viewResult.ViewData.Model)));
95
95
}
96
96
97
97
[Test]
@@ -114,7 +114,7 @@ public void Run_any_assertions_on_the_model()
0 commit comments