Fix bug in wxStringOutputStream unit test.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 24 Jan 2010 11:33:24 +0000 (11:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 24 Jan 2010 11:33:24 +0000 (11:33 +0000)
commit0c550516dd99c384eb376c9b9a51f92b1cd19e1a
treea6d2c4b25be4418f0ffc77065e7b42799851a239
parent421f32d102fd91f4bad8072120ba093bacfeedfe
Fix bug in wxStringOutputStream unit test.

We wrote an extra NUL byte to the stream and, unsurprisingly, contents of its
buffer didn't match the original string resulting in the test failure.

Also get rid of a #if wxUSE_UNICODE.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
tests/streams/sstream.cpp