diff options
author | Juergen Bocklage-Ryannel <juergen.bocklage-ryannel@pelagicore.com> | 2017-02-03 08:40:57 +0100 |
---|---|---|
committer | Juergen Bocklage-Ryannel <juergen.bocklage-ryannel@pelagicore.com> | 2017-02-03 08:40:57 +0100 |
commit | c66f5b25e5601522c60afcab32577282f2234861 (patch) | |
tree | bf9cacf3e069ca7fa366c3860444769811419ff1 | |
parent | 87c76c7c517ee5a298ab935cb874cd9cf36dc479 (diff) | |
download | qtivi-qface-c66f5b25e5601522c60afcab32577282f2234861.tar.gz |
WIP: structured doc support: updated the test cases
-rw-r--r-- | tests/in/org.example.echo.qface | 4 | ||||
-rw-r--r-- | tests/test_comments.py | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/in/org.example.echo.qface b/tests/in/org.example.echo.qface index 4930b33..f3e7c8b 100644 --- a/tests/in/org.example.echo.qface +++ b/tests/in/org.example.echo.qface @@ -3,8 +3,8 @@ module org.example.echo 1.0 /** * @brief the brief - * @description The description - * continues on another line which can be very long, indeed. Still not long enough + * @description the description + * continues * @deprecated */ interface Echo { diff --git a/tests/test_comments.py b/tests/test_comments.py index 73fd623..49b5587 100644 --- a/tests/test_comments.py +++ b/tests/test_comments.py @@ -3,7 +3,6 @@ from qface.helper import doc import logging import logging.config from path import Path -import re # logging.config.fileConfig('logging.ini') @@ -28,6 +27,6 @@ def test_comment(): assert interface o = doc.parse_doc(interface.comment) assert o.brief == 'the brief' - assert o.description == 'the description\ncontinued' + assert o.description == 'the description continues' assert o.deprecated is None |