diff --git a/source/test_setup.cpp b/source/test_setup.cpp index 6dfe4ff881..8b8c40b581 100644 --- a/source/test_setup.cpp +++ b/source/test_setup.cpp @@ -131,7 +131,7 @@ namespace { void script_TS_FAIL(ScriptInterface::CxPrivate* UNUSED(pCxPrivate), const std::wstring& msg) { - TS_FAIL(msg); + TS_FAIL(utf8_from_wstring(msg).c_str()); } }