mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 02:37:36 +02:00
Test hh specifier with unsigned char.
This commit is contained in:
@ -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");
|
||||||
|
Reference in New Issue
Block a user