Skip to content

Commit 2569ca4

Browse files
committed
Update test with compaction of nested collection
1 parent 549c707 commit 2569ca4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/test_list.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,10 @@ TEST(List_Nested_InMixed)
824824
"[{\"Seven\":7, \"Six\":6}, \"Hello\", {\"Points\": [1.25, 4.5, 6.75], \"Hello\": \"World\"}]");
825825
CHECK_EQUAL(obj.get_list_ptr<Mixed>(col_any)->size(), 3);
826826
// tr->to_json(std::cout);
827+
tr->commit();
828+
db->compact();
829+
tr = db->start_write();
830+
tr->verify();
827831
}
828832

829833

0 commit comments

Comments
 (0)