Skip to content

Commit

Permalink
Fix: Mising check of "hy_split_nevra()" return code
Browse files Browse the repository at this point in the history
  • Loading branch information
jrohel authored and j-mracek committed Mar 24, 2021
1 parent 90b1a26 commit dcfffd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/hawkey/test_util.cpp
Expand Up @@ -68,7 +68,7 @@ START_TEST(test_split_nevra)
g_free(arch);

n = "easy-1.2.3-4.fc18.x86_64";
hy_split_nevra(n, &name, &epoch, &version, &release, &arch);
fail_if(hy_split_nevra(n, &name, &epoch, &version, &release, &arch));
ck_assert_str_eq(name, "easy");
fail_unless(epoch == 0);
ck_assert_str_eq(version, "1.2.3");
Expand Down

0 comments on commit dcfffd4

Please sign in to comment.