mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-25 15:36:21 +00:00
Fixed double free'ing in tests
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user