summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/format-python-brace-1
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/tests/format-python-brace-1')
-rwxr-xr-xgettext-tools/tests/format-python-brace-12
1 files changed, 2 insertions, 0 deletions
diff --git a/gettext-tools/tests/format-python-brace-1 b/gettext-tools/tests/format-python-brace-1
index 601b023..3a1f9ea 100755
--- a/gettext-tools/tests/format-python-brace-1
+++ b/gettext-tools/tests/format-python-brace-1
@@ -30,6 +30,8 @@ cat <<\EOF > f-pyb-1.data
"abc{value[0}"
# Invalid: unknown character in getitem operator
"abc{value[!]}"
+# Valid: use of both getattr and getitem operators
+"abc{value.v[name]}"
# Valid: format specifier
"abc{value:0}"
# Valid: standard format specifier