commit | 83c07b5e50207458445262ed10b79aa6b2d2d0ce | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Apr 21 18:09:46 2014 -0700 |
committer | Elliott Hughes <enh@google.com> | Mon Apr 21 18:09:46 2014 -0700 |
tree | 9540e1a621a0089c664a23210367f5e3e3393d24 | |
parent | f3489807af6d48f208bc796d3c9b0d83a4fd5374 [diff] [blame] |
Fix WCHAR_MAX, WCHAR_MIN, WINT_MAX, and WINT_MIN. GCC tells us everything we need to know. clang does its usual half-assed job. Change-Id: Id4d664529b10345274602768cd564d3df717e931
diff --git a/tests/wchar_test.cpp b/tests/wchar_test.cpp index d5d27ed..be451c1 100644 --- a/tests/wchar_test.cpp +++ b/tests/wchar_test.cpp
@@ -155,3 +155,7 @@ bytes[3] = 0; EXPECT_STREQ("hix", bytes); } + +TEST(wchar, limits) { + ASSERT_LT(WCHAR_MIN, WCHAR_MAX); +}