Don't store text on documents
This commit is contained in:
parent
6ed6aa05cc
commit
ceee7eefd0
5 changed files with 21 additions and 13 deletions
|
|
@ -12,6 +12,10 @@ describe("json", []() {
|
|||
ts_document_set_parser(document, ts_parse_config_json);
|
||||
});
|
||||
|
||||
after_each([&]() {
|
||||
ts_document_free(document);
|
||||
});
|
||||
|
||||
it("parses strings", [&]() {
|
||||
ts_document_set_text(document, "\"\"");
|
||||
AssertThat(string(ts_document_string(document)), Equals("(value (string))"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue