Fixed compilation
authorAlan McGovern <alan.mcgovern@gmail.com>
Tue, 27 Mar 2007 18:46:25 +0000 (18:46 -0000)
committerAlan McGovern <alan.mcgovern@gmail.com>
Tue, 27 Mar 2007 18:46:25 +0000 (18:46 -0000)
svn path=/trunk/mcs/; revision=75039

mcs/class/System/Test/System.Collections.Generic/ChangeLog
mcs/class/System/Test/System.Collections.Generic/QueueTest.cs

index 2113cefae34deeb67910c818c89c61ae4b172641..f0576821dac3f2f72a3f22bcf2a97d9fd49c0c75 100644 (file)
@@ -1,3 +1,7 @@
+2007-03-27  Alan McGovern <alan.mcgovern@gmail.com>
+
+       * QueueTest.cs: Fixed compilation and cosmetic changes
+
 2007-02-08  Ilya Kharmatsky <ilyak -at- mainsoft.com>
 
        * SortedDictionaryTest.cs: Added 'Ignore' attribute under
index 38e33f8b395ddbdde7779a476979e3e3c776f91e..8bcb11d77a2cdfe8800f6229bc2b2de963fb4b0b 100644 (file)
@@ -72,15 +72,14 @@ namespace MonoTests.System.Collections.Generic {
                        
                        AssertEquals (s.Count, 0);
 
-                       IEnumerator enumerator = queue.GetEnumerator();
-                       queue.Clear();
-                       try
-                       {
+                       IEnumerator enumerator = s.GetEnumerator();
+                       s.Clear();
+
+                       try {
                                enumerator.Reset();
-                               Assert.Fail("Version should've been incremented");
+                               NUnit.Framework.Assert.Fail("Version should've been incremented");
                        }
-                       catch(InvalidOperationException)
-                       {
+                       catch(InvalidOperationException) {
                        }
                }