Update tests
authorMiguel de Icaza <miguel@gnome.org>
Sat, 27 Sep 2008 06:29:15 +0000 (06:29 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Sat, 27 Sep 2008 06:29:15 +0000 (06:29 -0000)
svn path=/trunk/mcs/; revision=114265

mcs/tests/eval-test.cs

index 661d36f7bed3e029950ba85c9a4b27cc950400b2..05db898b8bf2cb79c38f53e01821b67e33adadc0 100644 (file)
@@ -5,7 +5,9 @@ public class MyTest {
        static void Run (string id, string stmt)
        {
                try {
+                       Console.WriteLine ("Running {0} -> {1}", id, stmt);
                        Evaluator.Run (stmt);
+                       Console.WriteLine ("Done");
                } catch {
                        Console.WriteLine ("Failed on test {0}", id);
                        throw;
@@ -43,6 +45,9 @@ public class MyTest {
 
                Evaluator.ReferenceAssembly (typeof (MyTest).Assembly);
                Evaluate ("assembly reference test", "typeof (MyTest) != null;", true);
+
+               Run ("LINQ-3", "var first_scope = new int [] {1,2,3};");
+               Run ("LINQ-4", "var second_scope = from x in first_scope select x;");
        }
        
 }
\ No newline at end of file