Test hh length.

This commit is contained in:
Victor Zverovich 2014-08-05 08:21:47 -07:00
parent b797d39dd1
commit 86bbd3c238

View File

@ -331,7 +331,7 @@ void TestLength(const char *length_spec) {
TEST(PrintfTest, Length) {
EXPECT_EQ("-128", sprintf_int<signed char>("%hhd", SCHAR_MAX + 1));
EXPECT_EQ("128", sprintf_int<signed char>("%hhu", SCHAR_MAX + 1));
//TestLength<signed char>("hh");
TestLength<signed char>("hh");
//TestLength<unsigned char>("hh");
//TestLength<short>("h");
//TestLength<unsigned short>("h");