lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject lucenenet git commit: use set equality check
Date Sat, 03 Jan 2015 19:08:09 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/master 14c44d5b0 -> 35e882e07


use set equality check


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/35e882e0
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/35e882e0
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/35e882e0

Branch: refs/heads/master
Commit: 35e882e07fbd82ed07338c6bc4f1bbfefeb317e8
Parents: 14c44d5
Author: Laimonas Simutis <laimis@gmail.com>
Authored: Fri Jan 2 21:46:47 2015 -0500
Committer: Laimonas Simutis <laimis@gmail.com>
Committed: Fri Jan 2 21:46:47 2015 -0500

----------------------------------------------------------------------
 .../Index/BaseTermVectorsFormatTestCase.cs                         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/35e882e0/src/Lucene.Net.TestFramework/Index/BaseTermVectorsFormatTestCase.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.TestFramework/Index/BaseTermVectorsFormatTestCase.cs b/src/Lucene.Net.TestFramework/Index/BaseTermVectorsFormatTestCase.cs
index d772e5d..7715a2d 100644
--- a/src/Lucene.Net.TestFramework/Index/BaseTermVectorsFormatTestCase.cs
+++ b/src/Lucene.Net.TestFramework/Index/BaseTermVectorsFormatTestCase.cs
@@ -490,7 +490,7 @@ namespace Lucene.Net.Index
             {
                 fields2.Add(field);
             }
-            Assert.AreEqual(fields1, fields2);
+            Assert.IsTrue(fields1.SetEquals(fields2));
 
             for (int i = 0; i < doc.FieldNames.Length; ++i)
             {


Mime
View raw message