Update test_list.cpp

This commit is contained in:
Michael Tryby
2019-04-10 11:15:35 -04:00
parent 3d62254eb8
commit dba0d1cf52

View File

@@ -76,7 +76,6 @@ BOOST_AUTO_TEST_CASE(test_int_list){
struct FixtureStrings{
FixtureStrings() {
name = NULL;
list = NULL;
int numNames = 5;
@@ -84,6 +83,7 @@ struct FixtureStrings{
list = create_list(sizeof(char *), free_string);
char *name;
for (int i = 0; i < numNames; i++) {
name = _strdup(names[i]);
append_list(list, &name);
@@ -92,7 +92,6 @@ struct FixtureStrings{
~FixtureStrings() {
delete_list(list);
}
char *name;
list_t *list;
};