]> pd.if.org Git - nbds/blobdiff - test/txn_test.c
add iterators to hashtable, skiplist, and list
[nbds] / test / txn_test.c
index 74d5cee2494a641995254cc35c1fee412da05d04..b721f2d8a353699b27209bc0411842406693cc48 100644 (file)
@@ -21,7 +21,7 @@ void test1 (CuTest* tc) {
     ASSERT_EQUAL( 3, tm_get(t1, k1) );
     ASSERT_EQUAL( 4, tm_get(t2, k1) );
     ASSERT_EQUAL( TXN_VALIDATED, txn_commit(t2));
-    ASSERT_EQUAL( TXN_ABORTED, txn_commit(t1));
+    ASSERT_EQUAL( TXN_ABORTED,   txn_commit(t1));
 }
 
 int main (void) {