mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-29 12:19:03 +03:00
Fix test to check for status flag.
This commit is contained in:
parent
eadbaa76d5
commit
3bf6fc7e82
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ START_TEST (check_csync_init)
|
||||||
{
|
{
|
||||||
fail_unless(csync_init(csync) == 0, NULL);
|
fail_unless(csync_init(csync) == 0, NULL);
|
||||||
|
|
||||||
fail_unless(csync->initialized == 1, NULL);
|
fail_unless((csync->status & CSYNC_INIT) == 1, NULL);
|
||||||
|
|
||||||
fail_unless(csync_init(csync) == 1, NULL);
|
fail_unless(csync_init(csync) == 1, NULL);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue