Fixed double free'ing in tests

This commit is contained in:
James Booth
2014-01-28 21:51:43 +00:00
parent c3ea8f8d0b
commit 788fc48b1d
3 changed files with 10 additions and 10 deletions

View File

@@ -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);