Lines Matching defs:merged
437 *merged = NULL;
442 merged = t_var_expand_merge_tables(one, two);
444 test_assert(var_expand_table_size(merged) == 4);
445 for(unsigned int i = 0; i < var_expand_table_size(merged); i++) {
447 test_assert_idx(merged[i].key == one[i].key, i);
448 test_assert_idx(merged[i].value == one[i].value || strcmp(merged[i].value, one[i].value) == 0, i);
449 test_assert_idx(merged[i].long_key == one[i].long_key || strcmp(merged[i].long_key, one[i].long_key) == 0, i);
451 test_assert_idx(merged[i].key == two[i-2].key, i);
452 test_assert_idx(merged[i].value == two[i-2].value || strcmp(merged[i].value, two[i-2].value) == 0, i);
453 test_assert_idx(merged[i].long_key == two[i-2].long_key || strcmp(merged[i].long_key, two[i-2].long_key) == 0, i);