- failIf(result != m_expected[i], wxString::Format(
- _T("match(%d) == %s, expected == %s"), i,
- quote(result).c_str(), quote(m_expected[i]).c_str()));
+ msg.clear();
+ msg << wxT("match(") << i << wxT(") == ") << quote(result)
+ << wxT(", expected == ") << quote(m_expected[i]);
+ failIf(result != m_expected[i], msg);