Add this for backwards compatibility
[mono.git] / mcs / class / System.Runtime.Remoting / Test / CallSeq.cs
index d1312eae1f3c3a5c4ec7ac194b7a8078d8f4743f..605b76087dc8fa7cdcc72f5960f5632f12de8052 100644 (file)
@@ -73,7 +73,7 @@ namespace MonoTests.Remoting
 \r
                        if (checkPos >= calls.Count)\r
                        {\r
-                               if (!optional) Assertion.Fail ("[" + name + "] Call check failed. Expected call not made: \"" + msg + "\"");\r
+                               if (!optional) Assert.Fail ("[" + name + "] Call check failed. Expected call not made: \"" + msg + "\"");\r
                                else return;\r
                        }\r
 \r
@@ -82,7 +82,7 @@ namespace MonoTests.Remoting
                        if (msg.Substring (3) != call.Substring (3))\r
                        {\r
                                if (optional) checkPos--;\r
-                               else Assertion.Fail ("[" + name + "] Call check failed in step " + (checkPos+1) + ". Expected \"" + msg + "\" found \"" + call + "\"");\r
+                               else Assert.Fail ("[" + name + "] Call check failed in step " + (checkPos+1) + ". Expected \"" + msg + "\" found \"" + call + "\"");\r
                        }\r
                }\r
 \r