From: Bruno Haible Date: Mon, 22 Oct 2001 08:50:33 +0000 (+0000) Subject: Improve two tests. X-Git-Tag: v0.11~436 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eba02f5c8e279c28f7487f9a88c69dfd5c22261c;p=thirdparty%2Fgettext.git Improve two tests. --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 66049c19d..a0b9e966d 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +2001-09-20 Bruno Haible + + * format-c-1: Fix two tests to really test something. + 2001-09-20 Bruno Haible * format-pascal-1: New file. diff --git a/tests/format-c-1 b/tests/format-c-1 index 24dc08e03..647826003 100755 --- a/tests/format-c-1 +++ b/tests/format-c-1 @@ -112,11 +112,11 @@ cat <<\EOF > f-c-1.data # Invalid: mixing of numbered and unnumbered arguments "abc%1$.*x" # Invalid: missing non-final argument -"abc%2$x$3$s" +"abc%2$x%3$s" # Valid: permutation "abc%2$ddef%1$d" # Valid: multiple uses of same argument -"abc%2xdef%1pghi%2x" +"abc%2$xdef%1$pghi%2$x" # Valid: one argument with width "abc%2$#*1$g" # Valid: one argument with width and precision