setup_mocks() should set function pointer bx_fprintf to point to __wrap_bx_fprintf()

This commit is contained in:
David Sargeant 2023-11-25 11:35:06 -07:00 committed by Thomas Jensen
parent 54957a144b
commit 503a81cf9a

View File

@ -101,6 +101,7 @@ void setup_mocks()
setlocale(LC_ALL, ""); setlocale(LC_ALL, "");
encoding = check_encoding("UTF-8", locale_charset()); encoding = check_encoding("UTF-8", locale_charset());
collect_reset(); collect_reset();
set_bx_fprintf(__wrap_bx_fprintf);
} }