Test hh specifier with unsigned char.

This commit is contained in:
Victor Zverovich 2014-08-08 06:59:17 -07:00
parent e22d657202
commit 3465d056e7

View File

@ -347,7 +347,7 @@ TEST(PrintfTest, Length) {
EXPECT_EQ("-1", sprintf_int<unsigned char>("%hhd", UCHAR_MAX));
EXPECT_EQ("255", sprintf_int<unsigned char>("%hhu", UCHAR_MAX));
TestLength<signed char>("hh");
//TestLength<unsigned char>("hh");
TestLength<unsigned char>("hh");
//TestLength<short>("h");
//TestLength<unsigned short>("h");
//TestLength<long>("l");