lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r718035 - /incubator/lucene.net/trunk/C#/src/Test/Search/CheckHits.cs
Date Sun, 16 Nov 2008 14:20:28 GMT
Author: digy
Date: Sun Nov 16 06:20:28 2008
New Revision: 718035

URL: http://svn.apache.org/viewvc?rev=718035&view=rev
Log:
LUCENENET-158 (TestSpanNearOrdered02 - TestSpanNearOrdered05 fail)

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

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/CheckHits.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/CheckHits.cs?rev=718035&r1=718034&r2=718035&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/CheckHits.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/CheckHits.cs Sun Nov 16 06:20:28 2008
@@ -160,6 +160,8 @@
 			}
 			
 			Assert.AreEqual(correct.Count, actual.Count);
+			correct.Sort();
+			actual.Sort();
 			for (int i = 0; i < correct.Count; i++)
 			{
 				Assert.AreEqual(correct[i], actual[i]);
@@ -519,4 +521,4 @@
 			}
 		}
 	}
-}
\ No newline at end of file
+}



Mime
View raw message