Remove document parameter from ts_node_type, ts_node_string
Co-Authored-By: Rick Winfrey <rewinfrey@github.com>
This commit is contained in:
parent
8d805feab1
commit
92255bbfdd
10 changed files with 87 additions and 88 deletions
|
|
@ -35,7 +35,7 @@ describe("Document", [&]() {
|
|||
});
|
||||
|
||||
auto assert_node_string_equals = [&](TSNode node, const string &expected) {
|
||||
char *str = ts_node_string(node, document);
|
||||
char *str = ts_node_string(node);
|
||||
string actual(str);
|
||||
ts_free(str);
|
||||
AssertThat(actual, Equals(expected));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue