about summary refs log tree commit diff stats
path: root/tests/test_cmd_alias.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-01-28 21:51:43 +0000
committerJames Booth <boothj5@gmail.com>2014-01-28 21:51:43 +0000
commit788fc48b1de1152390a7fe3284a7818fba805448 (patch)
tree5f584b1375e4948de474d497029c4092098684b1 /tests/test_cmd_alias.c
parentc3ea8f8d0bc3a8e4f5660a76e3988847e18de824 (diff)
downloadprofani-tty-788fc48b1de1152390a7fe3284a7818fba805448.tar.gz
Fixed double free'ing in tests
Diffstat (limited to 'tests/test_cmd_alias.c')
-rw-r--r--tests/test_cmd_alias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_cmd_alias.c b/tests/test_cmd_alias.c
index 27fd806b..8666b1aa 100644
--- a/tests/test_cmd_alias.c
+++ b/tests/test_cmd_alias.c
@@ -105,7 +105,7 @@ void cmd_alias_add_shows_message_when_exists(void **state)
     prefs_add_alias("hc", "/help commands");
     cmd_autocomplete_add("/hc");
 
-    expect_cons_show("Command or alias /hc already exists.");
+    expect_cons_show("Command or alias '/hc' already exists.");
 
     gboolean result = cmd_alias(args, *help);
     assert_true(result);