Restructure integration tests to use separate JSON and corpus files
This makes these tests way easier to write and read.
This commit is contained in:
parent
f049d5d94c
commit
ac4167fdc9
54 changed files with 1424 additions and 1211 deletions
|
|
@ -40,7 +40,7 @@ describe("Node", []() {
|
|||
record_alloc::start();
|
||||
|
||||
document = ts_document_new();
|
||||
ts_document_set_language(document, get_test_language("json"));
|
||||
ts_document_set_language(document, load_real_language("json"));
|
||||
ts_document_set_input_string(document, input_string.c_str());
|
||||
ts_document_parse(document);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue