about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/test_cmd_account.c3
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);
organ <djm_uk@protonmail.com> 2022-08-10 15:59:35 +0100 committer David Morgan <djm_uk@protonmail.com> 2022-08-10 15:59:35 +0100 easy-kill' href='/djm/dotfiles/commit/.emacs.d/lisp/init-kill.el?id=499ee4e9f33e972b93afe319a9ce5803dd113875'>499ee4e ^
f4fe800 ^
5edc8a8 ^
f4fe800 ^





d0db566 ^
f4fe800 ^

d0db566 ^

f4fe800 ^




5edc8a8 ^
f4fe800 ^






d0db566 ^


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46