r23203 - gnucash/trunk/src/engine/test - Fix test broken by r23192
John Ralls
jralls at code.gnucash.org
Thu Oct 3 17:39:01 EDT 2013
Author: jralls
Date: 2013-10-03 17:39:01 -0400 (Thu, 03 Oct 2013)
New Revision: 23203
Trac: http://svn.gnucash.org/trac/changeset/23203
Modified:
gnucash/trunk/src/engine/test/utest-Transaction.c
Log:
Fix test broken by r23192
The test in question was working around the ref-counting bug;
removed the workaround.
Modified: gnucash/trunk/src/engine/test/utest-Transaction.c
===================================================================
--- gnucash/trunk/src/engine/test/utest-Transaction.c 2013-10-01 12:22:00 UTC (rev 23202)
+++ gnucash/trunk/src/engine/test/utest-Transaction.c 2013-10-03 21:39:01 UTC (rev 23203)
@@ -466,10 +466,6 @@
g_assert_cmpint (check2->hits, ==, 2);
xaccTransRollbackEdit (txn);
test_destroy (txn);
-/* Transaction refs the currency when it sets it but doesn't unref
- * when it's destroyed
- */
- g_object_unref (curr);
test_destroy (curr);
test_destroy (book);
g_free (t_entered);
More information about the gnucash-changes
mailing list