Merge "Regression test for NDK bug 80199."
This commit is contained in:
commit
dd5c92d4b0
1 changed files with 5 additions and 0 deletions
|
@ -234,6 +234,11 @@ TEST(wchar, wcsstr) {
|
||||||
ASSERT_EQ(NULL, wcsstr(haystack, bad_needle));
|
ASSERT_EQ(NULL, wcsstr(haystack, bad_needle));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST(wchar, wcsstr_80199) {
|
||||||
|
// https://code.google.com/p/android/issues/detail?id=80199
|
||||||
|
ASSERT_TRUE(wcsstr(L"romrom", L"rom") != NULL);
|
||||||
|
}
|
||||||
|
|
||||||
TEST(wchar, mbtowc) {
|
TEST(wchar, mbtowc) {
|
||||||
wchar_t out[8];
|
wchar_t out[8];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue