summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/format-javascript-1
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/tests/format-javascript-1')
-rwxr-xr-xgettext-tools/tests/format-javascript-12
1 files changed, 2 insertions, 0 deletions
diff --git a/gettext-tools/tests/format-javascript-1 b/gettext-tools/tests/format-javascript-1
index 6e434ea..0b8db0c 100755
--- a/gettext-tools/tests/format-javascript-1
+++ b/gettext-tools/tests/format-javascript-1
@@ -54,6 +54,8 @@ cat <<\EOF > f-js-1.data
"abc%+1$d"
# Invalid: mixing of numbered and unnumbered arguments
"abc%d%2$x"
+# Valid: multiple uses of same argument
+"abc%2$xdef%1$sghi%2$x"
EOF
: ${XGETTEXT=xgettext}