From debde0acd767a158b9a0e43ef8c43d74093dfe96 Mon Sep 17 00:00:00 2001 From: kareemotoum Date: Sat, 3 Jan 2026 02:33:22 +0300 Subject: [PATCH] fix test case failing ci tests --- test/printf-test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/printf-test.cc b/test/printf-test.cc index da56afc8..63035006 100644 --- a/test/printf-test.cc +++ b/test/printf-test.cc @@ -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 struct make_signed {