Merge pull request #209 from vzvu3k6k/fix-example-code
Fix assetion of an example program
This commit is contained in:
commit
8f526e6c98
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ int main() {
|
|||
|
||||
// Check that the nodes have the expected child counts.
|
||||
assert(ts_node_child_count(root_node) == 1);
|
||||
assert(ts_node_child_count(array_node) == 4);
|
||||
assert(ts_node_child_count(array_node) == 5);
|
||||
assert(ts_node_named_child_count(array_node) == 2);
|
||||
assert(ts_node_child_count(number_node) == 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue