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();