Test 'h' specifier.

This commit is contained in:
Victor Zverovich 2014-08-09 08:53:14 -07:00
parent 3465d056e7
commit bdbacde659

View File

@ -348,8 +348,8 @@ TEST(PrintfTest, Length) {
EXPECT_EQ("255", sprintf_int<unsigned char>("%hhu", UCHAR_MAX));
TestLength<signed char>("hh");
TestLength<unsigned char>("hh");
//TestLength<short>("h");
//TestLength<unsigned short>("h");
TestLength<short>("h");
TestLength<unsigned short>("h");
//TestLength<long>("l");
//TestLength<unsigned long>("l");
// TODO: more tests