mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Fix preferences tests
This commit is contained in:
parent
59b9b44d53
commit
8ffd8079da
@ -24,7 +24,7 @@ statuses_chat_defaults_to_all(void** state)
|
||||
char* setting = prefs_get_string(PREF_STATUSES_CHAT);
|
||||
|
||||
assert_non_null(setting);
|
||||
assert_string_equal("all", setting);
|
||||
assert_string_equal("none", setting);
|
||||
g_free(setting);
|
||||
}
|
||||
|
||||
@ -34,6 +34,6 @@ statuses_muc_defaults_to_all(void** state)
|
||||
char* setting = prefs_get_string(PREF_STATUSES_MUC);
|
||||
|
||||
assert_non_null(setting);
|
||||
assert_string_equal("all", setting);
|
||||
assert_string_equal("none", setting);
|
||||
g_free(setting);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user