Show more information in the assert failure message to try to understand why
is the unit test failing on the buildbot.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66723
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void wxNumberFormatter::RemoveTrailingZeroes(wxString& s)
{
const size_t posDecSep = s.find(GetDecimalSeparator());
- wxCHECK_RET( posDecSep != wxString::npos, "No decimal separator" );
+ wxCHECK_RET( posDecSep != wxString::npos,
+ wxString::Format("No decimal separator in \"%s\"", s) );
wxCHECK_RET( posDecSep, "Can't start with decimal separator" );
// Find the last character to keep.