all tests except one ok on map
This commit is contained in:
@@ -10,8 +10,11 @@ void add_to_list(std::string title, std::string type, A_test* test) {
|
||||
std::vector< std::vector<A_test*> >::iterator it;
|
||||
|
||||
// title != NULL for the first element
|
||||
if (!title.empty())
|
||||
if (test == NULL)
|
||||
{
|
||||
test_list.push_back(test_sub_list);
|
||||
return;
|
||||
}
|
||||
|
||||
test->title = title;
|
||||
test->type = type;
|
||||
|
||||
Reference in New Issue
Block a user