summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/wchar_test.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/wchar_test.cpp b/tests/wchar_test.cpp
index 63f3760..a1d1501 100644
--- a/tests/wchar_test.cpp
+++ b/tests/wchar_test.cpp
@@ -234,6 +234,11 @@ TEST(wchar, wcsstr) {
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) {
wchar_t out[8];