lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r880874 - /incubator/lucene.net/trunk/C#/src/Test/Index/TestTransactionRollback.cs
Date Mon, 16 Nov 2009 17:51:23 GMT
Author: digy
Date: Mon Nov 16 17:51:23 2009
New Revision: 880874

URL: http://svn.apache.org/viewvc?rev=880874&view=rev
Log:
LUCENENET-258  Bug in src\Test\Index\TestTransactionRollback.cs

Modified:
    incubator/lucene.net/trunk/C#/src/Test/Index/TestTransactionRollback.cs

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestTransactionRollback.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestTransactionRollback.cs?rev=880874&r1=880873&r2=880874&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestTransactionRollback.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestTransactionRollback.cs Mon Nov 16 17:51:23
2009
@@ -98,11 +98,11 @@
 				{
 					System.String sval = r.Document(i).Get(FIELD_RECORD_ID);
 					if (sval != null)
-					{
-						int val = System.Int32.Parse(sval);
-						Assert.IsTrue(expecteds.Get(val), "Did not expect document #" + val);
-						expecteds.Set(val, true);
-					}
+                    {
+                        int val = System.Int32.Parse(sval);
+                        Assert.IsTrue(expecteds.Get(val), "Did not expect document #" + val);
+                        expecteds.Set(val, false); 
+                    }
 				}
 			}
 			r.Close();



Mime
View raw message