diff options
author | Michael Vetter <jubalh@iodoru.org> | 2022-04-01 12:23:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-01 12:23:56 +0200 |
commit | 1bd0e4ddf5717a0a00bfbe17a8942d259b319766 (patch) | |
tree | 1bf300749db2ec85c169e1fa52c3de4efdec837c /tests | |
parent | 7eab15d2b23adbfe0ecd3cbce552987b25aa9206 (diff) | |
parent | b914929320f9f13981218f4bb2b685059e2b854b (diff) | |
download | profani-tty-1bd0e4ddf5717a0a00bfbe17a8942d259b319766.tar.gz |
Merge pull request #1670 from profanity-im/moar-cleanup
Even moar cleanup
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unittests/test_cmd_account.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unittests/test_cmd_account.c b/tests/unittests/test_cmd_account.c index 69721311..c0eac0e3 100644 --- a/tests/unittests/test_cmd_account.c +++ b/tests/unittests/test_cmd_account.c @@ -571,7 +571,8 @@ cmd_account_show_message_for_invalid_otr_policy(void** state) expect_any(accounts_account_exists, account_name); will_return(accounts_account_exists, TRUE); - expect_cons_show("OTR policy must be one of: manual, opportunistic or always."); + expect_cons_show("Invalid OTR policy: 'bad_otr_policy'"); + expect_cons_show("OTR policy must be one of: 'manual', 'opportunistic' or 'always'."); gboolean result = cmd_account_set(NULL, CMD_ACCOUNT, args); assert_true(result); |