diff options
author | Dieter Verfaillie <dieterv@optionexplicit.be> | 2013-08-23 17:01:01 +0200 |
---|---|---|
committer | Dieter Verfaillie <dieterv@optionexplicit.be> | 2013-10-08 20:57:20 +0200 |
commit | ce352de62e1ccc9ecaa2649d85569acc272ee0ed (patch) | |
tree | ffc00c9c149795ed95b2486b1f95a7800de64a8d /tests/scanner/annotationparser/test_patterns.py | |
parent | 001631bf9b9e672154492bf6547c0c7c985ed3e0 (diff) | |
download | gobject-introspection-ce352de62e1ccc9ecaa2649d85569acc272ee0ed.tar.gz |
giscanner: complain about text before the ' * '
Makes our GTK-Doc comment block rewriting tool halt on
such issues, requireing user intervention instead of writing
back even more bogus data.
Diffstat (limited to 'tests/scanner/annotationparser/test_patterns.py')
-rw-r--r-- | tests/scanner/annotationparser/test_patterns.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/scanner/annotationparser/test_patterns.py b/tests/scanner/annotationparser/test_patterns.py index 3362458b..ed687a43 100644 --- a/tests/scanner/annotationparser/test_patterns.py +++ b/tests/scanner/annotationparser/test_patterns.py @@ -160,19 +160,19 @@ comment_end_tests = [ comment_asterisk_tests = [ (COMMENT_ASTERISK_RE, '*', - {}), + {'comment': ''}), (COMMENT_ASTERISK_RE, '* ', - {}), + {'comment': ''}), (COMMENT_ASTERISK_RE, ' *', - {}), + {'comment': ''}), (COMMENT_ASTERISK_RE, ' * ', - {}), + {'comment': ''}), (COMMENT_ASTERISK_RE, ' * ', - {}), + {'comment': ''}), (COMMENT_ASTERISK_RE, ' * test', - {}), + {'comment': ''}), (COMMENT_ASTERISK_RE, 'test * ', - None)] + {'comment': 'test'})] indentaton_tests = [ |