From: Bruno Haible Date: Thu, 8 Jun 2023 18:36:26 +0000 (+0200) Subject: Simplify format-c-1 test. X-Git-Tag: v0.22~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d52a059ceb27d625b19e4f6bf1ecad8cc04f476;p=thirdparty%2Fgettext.git Simplify format-c-1 test. * gettext-tools/tests/format-c-1: Remove a redundant test case. --- 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