diff options
author | James Booth <boothj5@gmail.com> | 2014-01-28 21:51:43 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-01-28 21:51:43 +0000 |
commit | 788fc48b1de1152390a7fe3284a7818fba805448 (patch) | |
tree | 5f584b1375e4948de474d497029c4092098684b1 /tests/test_cmd_alias.c | |
parent | c3ea8f8d0bc3a8e4f5660a76e3988847e18de824 (diff) | |
download | profani-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.c | 2 |
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); |