Fixed bug in vector unit test
This commit is contained in:
@@ -208,7 +208,7 @@ void test_vector_sort_string() {
|
|||||||
|
|
||||||
// Sort vector with custom data type
|
// Sort vector with custom data type
|
||||||
typedef struct {
|
typedef struct {
|
||||||
char name[256];
|
const char *name;
|
||||||
int age;
|
int age;
|
||||||
} Person;
|
} Person;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user