New tests.
[mono.git] / mcs / tests / eval-test.cs
index 3a710ffaf65da3e99731d3d404eec47670104504..c9433a4f262f7d6d8b19115f4554c5e94e2d567a 100644 (file)
@@ -57,8 +57,8 @@ public class MyTest {
                }
 
                res = Evaluator.GetCompletions ("Converte", out prefix);
-               if (res [0] != "r<"){
-                       throw new Exception ("Expected one completion for Conveter<");
+               if (res [0] != "r"){
+                       throw new Exception ("Expected one completion for Converter");
                }
 
                res = Evaluator.GetCompletions ("Sys", out prefix);
@@ -77,7 +77,7 @@ public class MyTest {
                }
 
                res = Evaluator.GetCompletions ("new System.Text.StringBuilder () { ", out prefix);
-               if (res.Length != 4){
+               if (res.Length != 3){
                        throw new Exception ("Epxected 4 completions (Capacity Chars Length MaxCapacity)");
                }