lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi] wx_test: output strings truncated to one character


From: Greg Chicares
Subject: [lmi] wx_test: output strings truncated to one character
Date: Tue, 9 Feb 2016 15:54:50 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0

Building and running lmi (HEAD) in msw-7, we observe that this
code in 'wx_test_about_version.cpp':
  // Extract the last word of the dialog title.
  wxString const last_word = d->GetTitle().AfterLast(' ');
  wxPrintf("About dialog version string is \"%s\".\n", last_word);
  LMI_ASSERT_EQUAL(last_word, LMI_VERSION);
prints:
  About dialog version string is "2".
but LMI_VERSION is:
  #define LMI_VERSION "20160114T1914Z"
and the assertion above succeeds, so it seems that the wxString
is correct but something is wrong with wxPrintf().



reply via email to

[Prev in Thread] Current Thread [Next in Thread]