diff options
author | Michael Vetter <jubalh@iodoru.org> | 2021-01-17 11:31:05 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2021-01-17 11:31:05 +0100 |
commit | 1038b97a7dff8562325bdaaddcf80f11553b49ee (patch) | |
tree | f3294e92d1c94aa3502f407b5a380600ab208373 /tests/unittests | |
parent | 5bb2f47d453043f06c70f4453cc91ef7a6778926 (diff) | |
download | profani-tty-1038b97a7dff8562325bdaaddcf80f11553b49ee.tar.gz |
Fix old chlog reference in help
Fixes https://github.com/profanity-im/profanity/issues/1470
Diffstat (limited to 'tests/unittests')
-rw-r--r-- | tests/unittests/test_cmd_otr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unittests/test_cmd_otr.c b/tests/unittests/test_cmd_otr.c index 72141756..0aca077c 100644 --- a/tests/unittests/test_cmd_otr.c +++ b/tests/unittests/test_cmd_otr.c @@ -73,7 +73,7 @@ cmd_otr_log_on_shows_warning_when_chlog_disabled(void** state) prefs_set_boolean(PREF_CHLOG, FALSE); expect_cons_show("OTR messages will be logged as plaintext."); - expect_cons_show("Chat logging is currently disabled, use '/chlog on' to enable."); + expect_cons_show("Chat logging is currently disabled, use '/logging chat on' to enable."); gboolean result = cmd_otr_log(NULL, CMD_OTR, args); assert_true(result); @@ -121,7 +121,7 @@ cmd_otr_log_redact_shows_warning_when_chlog_disabled(void** state) prefs_set_boolean(PREF_CHLOG, FALSE); expect_cons_show("OTR messages will be logged as '[redacted]'."); - expect_cons_show("Chat logging is currently disabled, use '/chlog on' to enable."); + expect_cons_show("Chat logging is currently disabled, use '/logging chat on' to enable."); gboolean result = cmd_otr_log(NULL, CMD_OTR, args); assert_true(result); |