mirror of
https://github.com/fmtlib/fmt.git
synced 2026-02-05 17:30:06 +08:00
fix test case failing ci tests
This commit is contained in:
parent
90ad0fcf45
commit
debde0acd7
@ -322,7 +322,7 @@ TEST(printf_test, positional_width_and_precision) {
|
||||
EXPECT_EQ(" 00042", test_sprintf("%3$*1$.*2$d", 7, 5, 42));
|
||||
EXPECT_EQ(" ab", test_sprintf("%3$*1$.*2$s", 7, 2, "abcdef"));
|
||||
EXPECT_EQ(" 00042", test_sprintf("%3$*1$.*2$x", 7, 5, 0x42));
|
||||
EXPECT_EQ("100.4400000", sprintf("%6$-*5$.*4$f%3$s%2$s%1$s", "", "", "", 7, 4, 100.44));
|
||||
EXPECT_EQ("100.4400000", test_sprintf("%6$-*5$.*4$f%3$s%2$s%1$s", "", "", "", 7, 4, 100.44));
|
||||
}
|
||||
|
||||
template <typename T> struct make_signed {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user