mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 21:16:56 +00:00
Test hh length.
This commit is contained in:
parent
b797d39dd1
commit
86bbd3c238
@ -331,7 +331,7 @@ void TestLength(const char *length_spec) {
|
|||||||
TEST(PrintfTest, Length) {
|
TEST(PrintfTest, Length) {
|
||||||
EXPECT_EQ("-128", sprintf_int<signed char>("%hhd", SCHAR_MAX + 1));
|
EXPECT_EQ("-128", sprintf_int<signed char>("%hhd", SCHAR_MAX + 1));
|
||||||
EXPECT_EQ("128", sprintf_int<signed char>("%hhu", SCHAR_MAX + 1));
|
EXPECT_EQ("128", sprintf_int<signed char>("%hhu", SCHAR_MAX + 1));
|
||||||
//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");
|
||||||
|
Loading…
Reference in New Issue
Block a user