mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-31 03:07:36 +02:00
Disable 'l' specifier tests.
This commit is contained in:
@ -344,14 +344,14 @@ void TestLength(const char *length_spec) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
TEST(PrintfTest, Length) {
|
TEST(PrintfTest, Length) {
|
||||||
EXPECT_EQ("-1", sprintf_int<unsigned char>("%hhd", 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");
|
EXPECT_EQ("-1", sprintf_int<unsigned char>("%hhd", UCHAR_MAX));
|
||||||
TestLength<unsigned long>("l");
|
EXPECT_EQ("255", sprintf_int<unsigned char>("%hhu", UCHAR_MAX));
|
||||||
|
//TestLength<long>("l");
|
||||||
|
//TestLength<unsigned long>("l");
|
||||||
// TODO: more tests
|
// TODO: more tests
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user