From d5e40316b7e7eeec1817caf754eb873e9df877b0 Mon Sep 17 00:00:00 2001 From: KHeartz Date: Sun, 6 Sep 2026 03:02:33 -0400 Subject: [PATCH] Tests: compare the missing-dependency error with STREQUALS EQUALS feeds both operands to unit__bprintf's %lld, so std::string went through a variadic function. Clang rejects that outright, breaking the macOS leg of Test Build since #246. --- code/tests/modules/resource_manager_ut.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/tests/modules/resource_manager_ut.h b/code/tests/modules/resource_manager_ut.h index d1266f6f0..f3e4205b6 100644 --- a/code/tests/modules/resource_manager_ut.h +++ b/code/tests/modules/resource_manager_ut.h @@ -540,7 +540,7 @@ MODULE(resource_manager, { auto result = manager.StartAll(); EQUALS(static_cast(result), false); - EQUALS(result.GetError(), std::string("Resource 'req-user' depends on missing resource 'req-absent'")); + STREQUALS(result.GetError().c_str(), "Resource 'req-user' depends on missing resource 'req-absent'"); engine.Shutdown(); TestManagerHelper::Cleanup();