reverting incorrect change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -388,7 +388,7 @@ void UnicodeTestCase::ConversionUTF16()
|
|||||||
// terminate the string, this exposed a bug in our conversion code which
|
// terminate the string, this exposed a bug in our conversion code which
|
||||||
// got confused in this case
|
// got confused in this case
|
||||||
size_t len;
|
size_t len;
|
||||||
conv.cMB2WC("\x01\0\0B\0C\0" /* A macron BC */, 6, &len);
|
conv.cMB2WC("\x01\0\0B\0C" /* A macron BC */, 6, &len);
|
||||||
CPPUNIT_ASSERT_EQUAL( 3, len );
|
CPPUNIT_ASSERT_EQUAL( 3, len );
|
||||||
|
|
||||||
// Another one: verify that the length of the resulting string is computed
|
// Another one: verify that the length of the resulting string is computed
|
||||||
@@ -417,7 +417,7 @@ void UnicodeTestCase::ConversionUTF32()
|
|||||||
}
|
}
|
||||||
|
|
||||||
size_t len;
|
size_t len;
|
||||||
conv.cMB2WC("\0\0\x01\0\0\0\0B\0\0\0C\0\0" /* A macron BC */, 12, &len);
|
conv.cMB2WC("\0\0\x01\0\0\0\0B\0\0\0C" /* A macron BC */, 12, &len);
|
||||||
CPPUNIT_ASSERT_EQUAL( 3, len );
|
CPPUNIT_ASSERT_EQUAL( 3, len );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user