From b593e43375a5a193a016c977ab30a08f5942e1f3 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Sun, 12 Apr 2026 19:54:49 -0400 Subject: [PATCH] xo-gc: utest: verify no alloc errors --- utest/GCObjectStore.test.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utest/GCObjectStore.test.cpp b/utest/GCObjectStore.test.cpp index f023268..f068de8 100644 --- a/utest/GCObjectStore.test.cpp +++ b/utest/GCObjectStore.test.cpp @@ -949,6 +949,9 @@ namespace ut { gcos_construct_ab_object_graphs(tc, &gcos, &fixture.arena2_, loop_index, &x1_v, &x2_v, &rgen); + // no allocation errors + REQUIRE(gcos.last_error().error_ == xo::mm::error::ok); + log1 && log1("verify before any gcos side effects"); gcos_verify_consistency(&gcos);