about summary refs log tree commit diff stats
path: root/tests/unittests/test_cmd_bookmark.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittests/test_cmd_bookmark.c')
-rw-r--r--tests/unittests/test_cmd_bookmark.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unittests/test_cmd_bookmark.c b/tests/unittests/test_cmd_bookmark.c
index e321f0db..901d31f8 100644
--- a/tests/unittests/test_cmd_bookmark.c
+++ b/tests/unittests/test_cmd_bookmark.c
@@ -137,7 +137,8 @@ void cmd_bookmark_add_shows_message_when_invalid_jid(void **state)
 
     will_return(connection_get_status, JABBER_CONNECTED);
 
-    expect_cons_show("Can't add bookmark with JID 'room'; should be 'room@domain.tld'");
+    expect_cons_show("Invalid room, must be of the form room@domain.tld");
+    expect_cons_show("");
 
     gboolean result = cmd_bookmark(&window, CMD_BOOKMARK, args);
     assert_true(result);