Add missing symbol metadata field initializers in specs

This commit is contained in:
Max Brunsfeld 2015-12-17 12:06:43 -08:00
parent 8e7ed275c9
commit e6f933a21f
2 changed files with 3 additions and 3 deletions

View file

@ -40,7 +40,7 @@ describe("Stack", [&]() {
TSTree *trees[tree_count];
TreeSelectionSpy tree_selection_spy{0, NULL, {NULL, NULL}};
TSLength tree_len = {2, 3, 0, 3};
TSSymbolMetadata metadata = {true, true, true};
TSSymbolMetadata metadata = {true, true, true, true};
before_each([&]() {
stack = ts_stack_new();

View file

@ -27,8 +27,8 @@ static const char *names[] = {
describe("Tree", []() {
TSTree *tree1, *tree2, *parent1;
TSSymbolMetadata visible = {true, true, false};
TSSymbolMetadata invisible = {false, false, false};
TSSymbolMetadata visible = {true, true, false, true};
TSSymbolMetadata invisible = {false, false, false, true};
before_each([&]() {
tree1 = ts_tree_make_leaf(cat, {2, 1, 0, 1}, {5, 4, 0, 4}, visible);