Added help for /alias command

This commit is contained in:
James Booth
2014-01-25 00:50:07 +00:00
parent 5d85974bc0
commit cb590dd82c
2 changed files with 12 additions and 5 deletions

View File

@@ -23,11 +23,11 @@ void create_config_file(void **state)
}
g_string_free(profanity_dir, TRUE);
fopen("./tests/files/xdg_config_home/profanity/profrc", "ab+");
g_free(xdg_config);
prefs_load();
FILE *f = fopen("./tests/files/xdg_config_home/profanity/profrc", "ab+");
if (f) {
g_free(xdg_config);
prefs_load();
}
}
void delete_config_file(void **state)