You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by di...@apache.org on 2009/11/16 18:51:23 UTC
svn commit: r880874 -
/incubator/lucene.net/trunk/C#/src/Test/Index/TestTransactionRollback.cs
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();