lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aro...@apache.org
Subject svn commit: r681516 - /incubator/lucene.net/trunk/C#/src/Test/Search/TestDateSort.cs
Date Thu, 31 Jul 2008 22:05:59 GMT
Author: aroush
Date: Thu Jul 31 15:05:59 2008
New Revision: 681516

URL: http://svn.apache.org/viewvc?rev=681516&view=rev
Log:
LUCENENET-129 "Test case TestDateSort.TestReverseDateSort fails"

Modified:
    incubator/lucene.net/trunk/C#/src/Test/Search/TestDateSort.cs

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/TestDateSort.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/TestDateSort.cs?rev=681516&r1=681515&r2=681516&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/TestDateSort.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/TestDateSort.cs Thu Jul 31 15:05:59 2008
@@ -111,7 +111,10 @@
 			expectedOrder[3] = "Document 2";
 			expectedOrder[4] = "Document 1";
 			
-			Assert.AreEqual(new System.Collections.ArrayList(expectedOrder), new System.Collections.ArrayList(actualOrder));
+			for (int i = 0; i < expectedOrder.Length; i++)
+			{
+				Assert.AreEqual(expectedOrder[i], actualOrder[i]);
+			}
 		}
 		
 		private static Document CreateDocument(System.String text, long time)



Mime
View raw message