From: Bruno Haible Date: Fri, 15 Aug 2008 10:27:52 +0000 (+0000) Subject: Check that %.0s normally behaves like %s. X-Git-Tag: v0.18~380 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e30295d9075a9ec8894306380b799bf89193278;p=thirdparty%2Fgettext.git Check that %.0s normally behaves like %s. --- diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog index e57bfae2e..90a202bbd 100644 --- a/gettext-tools/tests/ChangeLog +++ b/gettext-tools/tests/ChangeLog @@ -1,3 +1,7 @@ +2008-08-15 Bruno Haible + + * format-python-2: Check that %.0s normally behaves like %s. + 2008-06-01 Bruno Haible * lang-bash: Add note about failure on MacOS X. diff --git a/gettext-tools/tests/format-python-2 b/gettext-tools/tests/format-python-2 index 597990650..3d9d2080b 100755 --- a/gettext-tools/tests/format-python-2 +++ b/gettext-tools/tests/format-python-2 @@ -84,6 +84,9 @@ msgid "abc%c" msgstr "xyz%s" # Invalid: type incompatibility msgid "abc%c" +msgstr "xyz%.0s" +# Invalid: type incompatibility +msgid "abc%c" msgstr "xyz%i" # Invalid: type incompatibility msgid "abc%c" @@ -92,9 +95,15 @@ msgstr "xyz%e" msgid "abc%s" msgstr "xyz%i" # Invalid: type incompatibility +msgid "abc%.0s" +msgstr "xyz%i" +# Invalid: type incompatibility msgid "abc%s" msgstr "xyz%e" # Invalid: type incompatibility +msgid "abc%.0s" +msgstr "xyz%e" +# Invalid: type incompatibility msgid "abc%i" msgstr "xyz%e" # Invalid: type incompatibility for width