[gobject-introspection] annotationparser: add test for comment lines not starting with ' * '



commit 99b2ac85c97839be1bf39135dac92317e32f4dbc
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date:   Tue Apr 17 20:58:08 2012 +0200

    annotationparser: add test for comment lines not starting with ' * '
    
    https://bugzilla.gnome.org/show_bug.cgi?id=673806

 tests/warn/annotationparser.h |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/tests/warn/annotationparser.h b/tests/warn/annotationparser.h
index 1897b2f..ff9030e 100644
--- a/tests/warn/annotationparser.h
+++ b/tests/warn/annotationparser.h
@@ -189,3 +189,17 @@ void test_symbol_twice_documented();
 // EXPECT:186: Warning: Test: ignoring invalid multiline annotation continuation:
 //+ * (transfer full): something
 //+   ^
+
+
+/**
+
+ * regress_test_invalid_comment:
+ * @foo: a param
+ *
+ * invalid comment with a line without
+ * https://bugzilla.gnome.org/show_bug.cgi?id=673806
+ */
+
+// EXPECT:195: Warning: Test: ignoring unrecognized GTK-Doc comment block, identifier not found:
+//+
+//+^



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]