Make test for allocation failure handling fail more gracefully
This commit is contained in:
parent
4f726da881
commit
240355b04c
1 changed files with 1 additions and 0 deletions
|
|
@ -490,6 +490,7 @@ describe("Parser", [&]() {
|
|||
|
||||
assert_root_node(expected_node_string);
|
||||
ts_document_free(doc);
|
||||
doc = nullptr;
|
||||
AssertThat(record_alloc::outstanding_allocation_indices(), IsEmpty());
|
||||
|
||||
for (size_t i = 0; i < allocation_count; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue