Fix a wchar.wcstombs_wcrtombs test failure.

Looks like I screwed up a last-minute refactor and didn't re-run the tests.

Change-Id: I90a710ae66a313a9812859650aa0b4e8c6bc57f9
This commit is contained in:
Elliott Hughes
2014-04-18 13:32:33 -07:00
parent b88da06580
commit 1b836ee6f8
2 changed files with 5 additions and 2 deletions

View File

@@ -58,8 +58,8 @@ TEST(wchar, wctomb_wcrtomb) {
}
TEST(wchar, wcstombs_wcrtombs) {
wchar_t chars[] = { L'h', L'e', L'l', L'l', L'o', 0 };
wchar_t bad_chars[] = { L'h', L'i', 666, 0 };
const wchar_t chars[] = { L'h', L'e', L'l', L'l', L'o', 0 };
const wchar_t bad_chars[] = { L'h', L'i', 666, 0 };
const wchar_t* src;
char bytes[BUFSIZ];