Add missing symbol metadata field initializers in specs
This commit is contained in:
parent
8e7ed275c9
commit
e6f933a21f
2 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue