]> git.ipfire.org Git - pakfire.git/commitdiff
tests: repo: Usual EQUALS macro to show the true figures
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 30 Jan 2025 21:33:34 +0000 (21:33 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 30 Jan 2025 21:33:34 +0000 (21:33 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tests/libpakfire/repo.c

index 93f2edbcc03ba260f403376e1370f4d09a01e96f..5e0d88113483c51ba016ce0f9076e2350e8a9cd1 100644 (file)
@@ -44,7 +44,7 @@ static int test_scan(const struct test* t) {
        ASSERT_SUCCESS(pakfire_repo_scan(repo, 0));
 
        // There should be one package in this repository now
-       ASSERT(pakfire_repo_count(repo) == 1);
+       ASSERT_EQUALS(pakfire_repo_count(repo), 1);
 
        // Allocate a temporary file
        f = test_mktemp(NULL);