summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDieter Verfaillie <dieterv@optionexplicit.be>2013-07-18 07:19:36 +0200
committerDieter Verfaillie <dieterv@optionexplicit.be>2013-10-08 20:55:27 +0200
commitcc43ce2ee57ebec00c339429671e41587ec02a24 (patch)
tree4d2226910e81d9823b396ba4092bbe56a3879e99 /tests
parent2f11cda9ec19262833486ab796d5708d01353c3b (diff)
downloadgobject-introspection-cc43ce2ee57ebec00c339429671e41587ec02a24.tar.gz
giscanner: fix GTK-Doc section parsing
Diffstat (limited to 'tests')
-rw-r--r--tests/scanner/annotationparser/test_patterns.py18
1 files changed, 6 insertions, 12 deletions
diff --git a/tests/scanner/annotationparser/test_patterns.py b/tests/scanner/annotationparser/test_patterns.py
index 063b1916..17fc1973 100644
--- a/tests/scanner/annotationparser/test_patterns.py
+++ b/tests/scanner/annotationparser/test_patterns.py
@@ -47,23 +47,17 @@ identifier_section_tests = [
(SECTION_RE, 'section:test',
None),
(SECTION_RE, 'SECTION',
- {'delimiter': '',
- 'section_name': None}),
+ None),
(SECTION_RE, 'SECTION \t ',
- {'delimiter': '',
- 'section_name': None}),
+ None),
(SECTION_RE, ' \t SECTION \t ',
- {'delimiter': '',
- 'section_name': None}),
+ None),
(SECTION_RE, 'SECTION: \t ',
- {'delimiter': ':',
- 'section_name': None}),
+ None),
(SECTION_RE, 'SECTION : ',
- {'delimiter': ':',
- 'section_name': None}),
+ None),
(SECTION_RE, ' SECTION : ',
- {'delimiter': ':',
- 'section_name': None}),
+ None),
(SECTION_RE, 'SECTION:gtkwidget',
{'delimiter': ':',
'section_name': 'gtkwidget'}),