aboutsummaryrefslogtreecommitdiffstats
path: root/t/test_transaction.c
diff options
context:
space:
mode:
Diffstat (limited to 't/test_transaction.c')
-rw-r--r--t/test_transaction.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/t/test_transaction.c b/t/test_transaction.c
index 698f330..1e0adaa 100644
--- a/t/test_transaction.c
+++ b/t/test_transaction.c
@@ -8,21 +8,21 @@ START_TEST(test_transaction)
slapt_add_install_to_transaction(t, &pkg);
fail_unless(t->install_pkgs->pkg_count == 1);
- fail_unless(slapt_search_transaction(t, "gslapt") == 1);
- fail_unless(slapt_search_transaction_by_pkg(t, &pkg) == 1);
+ fail_unless(slapt_search_transaction(t, "gslapt"));
+ fail_unless(slapt_search_transaction_by_pkg(t, &pkg));
t = slapt_remove_from_transaction(t, &pkg);
slapt_add_remove_to_transaction(t, &pkg);
fail_unless(t->remove_pkgs->pkg_count == 1);
- fail_unless(slapt_search_transaction(t, "gslapt") == 1);
- fail_unless(slapt_search_transaction_by_pkg(t, &pkg) == 1);
+ fail_unless(slapt_search_transaction(t, "gslapt"));
+ fail_unless(slapt_search_transaction_by_pkg(t, &pkg));
t = slapt_remove_from_transaction(t, &pkg);
slapt_add_exclude_to_transaction(t, &pkg);
fail_unless(t->exclude_pkgs->pkg_count == 1);
slapt_add_upgrade_to_transaction(t, &pkg, &pkg);
- /* fail_unless (slapt_search_upgrade_transaction(t, &pkg) == 1); */
+ /* fail_unless (slapt_search_upgrade_transaction(t, &pkg)); */
slapt_free_transaction(t);
}