mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 11:28:20 +00:00
Test 'hh' and 'h' printf specifiers.
This commit is contained in:
parent
86bbd3c238
commit
8b41b09add
@ -332,9 +332,9 @@ 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<unsigned char>("hh");
|
||||
//TestLength<short>("h");
|
||||
//TestLength<unsigned short>("h");
|
||||
TestLength<unsigned char>("hh");
|
||||
TestLength<short>("h");
|
||||
TestLength<unsigned short>("h");
|
||||
//TestLength<long>("l");
|
||||
//TestLength<unsigned long>("l");
|
||||
// TODO: more tests
|
||||
|
Loading…
Reference in New Issue
Block a user