mirror of
https://github.com/transmission/transmission
synced 2025-01-01 12:35:22 +00:00
(squash later) test rule count
This commit is contained in:
parent
94ee776113
commit
847b43ffd3
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ static int test_parsing(void)
|
||||||
tr_free(path);
|
tr_free(path);
|
||||||
tr_sessionReloadBlocklists(session);
|
tr_sessionReloadBlocklists(session);
|
||||||
check(tr_blocklistExists(session));
|
check(tr_blocklistExists(session));
|
||||||
check_int(tr_blocklistGetRuleCount(session), ==, 4);
|
check_int(tr_blocklistGetRuleCount(session), ==, 5);
|
||||||
|
|
||||||
/* enable the blocklist */
|
/* enable the blocklist */
|
||||||
check(!tr_blocklistIsEnabled(session));
|
check(!tr_blocklistIsEnabled(session));
|
||||||
|
|
Loading…
Reference in a new issue