From 9d52a059ceb27d625b19e4f6bf1ecad8cc04f476 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 8 Jun 2023 20:36:26 +0200 Subject: [PATCH] Simplify format-c-1 test. * gettext-tools/tests/format-c-1: Remove a redundant test case. --- gettext-tools/tests/format-c-1 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gettext-tools/tests/format-c-1 b/gettext-tools/tests/format-c-1 index b11799920..64645ba40 100755 --- a/gettext-tools/tests/format-c-1 +++ b/gettext-tools/tests/format-c-1 @@ -192,12 +192,10 @@ cat <<\EOF > f-c-1.data "abc%1" # Invalid: flags before number "abc%+1$d" -# Valid: three arguments, two with same number +# Valid: three arguments, two with same number, no conflict "abc%1$4x,%2$c,%1$u" # Invalid: argument with conflicting types "abc%1$4x,%2$c,%1$s" -# Valid: no conflict -"abc%1$4x,%2$c,%1$u" # Invalid: mixing of numbered and unnumbered arguments "abc%d%2$x" # Valid: numbered argument with constant precision -- 2.47.2