]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Simplify format-c-1 test.
authorBruno Haible <bruno@clisp.org>
Thu, 8 Jun 2023 18:36:26 +0000 (20:36 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 8 Jun 2023 18:36:26 +0000 (20:36 +0200)
* gettext-tools/tests/format-c-1: Remove a redundant test case.

gettext-tools/tests/format-c-1

index b1179992028b61217201e0fb1a44b7fe057254a7..64645ba4069d14ac37529b15dadad00175102224 100755 (executable)
@@ -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