about summary refs log tree commit diff
path: root/src/etc/regex-match-tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc/regex-match-tests.py')
-rwxr-xr-xsrc/etc/regex-match-tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/regex-match-tests.py b/src/etc/regex-match-tests.py
index 826af961fce..ea7f51c86f8 100755
--- a/src/etc/regex-match-tests.py
+++ b/src/etc/regex-match-tests.py
@@ -63,7 +63,7 @@ def read_tests(f):
 def test_tostr(t):
     lineno, pat, text, groups = t
     options = map(group_tostr, groups)
-    return 'mat!(match_%s, r"%s", r"%s", %s)' \
+    return 'mat!{match_%s, r"%s", r"%s", %s}' \
            % (lineno, pat, '' if text == "NULL" else text, ', '.join(options))