Commit 3465d056 authored by Victor Zverovich's avatar Victor Zverovich

Test hh specifier with unsigned char.

parent e22d6572
...@@ -347,7 +347,7 @@ TEST(PrintfTest, Length) { ...@@ -347,7 +347,7 @@ TEST(PrintfTest, Length) {
EXPECT_EQ("-1", sprintf_int<unsigned char>("%hhd", UCHAR_MAX)); EXPECT_EQ("-1", sprintf_int<unsigned char>("%hhd", UCHAR_MAX));
EXPECT_EQ("255", sprintf_int<unsigned char>("%hhu", UCHAR_MAX)); EXPECT_EQ("255", sprintf_int<unsigned char>("%hhu", UCHAR_MAX));
TestLength<signed char>("hh"); TestLength<signed char>("hh");
//TestLength<unsigned char>("hh"); TestLength<unsigned char>("hh");
//TestLength<short>("h"); //TestLength<short>("h");
//TestLength<unsigned short>("h"); //TestLength<unsigned short>("h");
//TestLength<long>("l"); //TestLength<long>("l");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment