diff options
| author | Jakob Lykke Andersen <Jakob@caput.dk> | 2017-10-03 14:35:10 +0200 |
|---|---|---|
| committer | Jakob Lykke Andersen <Jakob@caput.dk> | 2017-10-03 14:35:10 +0200 |
| commit | 6d610980583f26247504058790c00be93ca901f3 (patch) | |
| tree | 0c9aa6cc367b3f4e33060b2d7abeecef44b078bb /tests/test_domain_cpp.py | |
| parent | 0aa5c1b697ea3cddd503a58b5786537ca2d26420 (diff) | |
| download | sphinx-git-6d610980583f26247504058790c00be93ca901f3.tar.gz | |
C++, add test case for sphinx-doc/sphinx#4096
Diffstat (limited to 'tests/test_domain_cpp.py')
| -rw-r--r-- | tests/test_domain_cpp.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_domain_cpp.py b/tests/test_domain_cpp.py index 08ca6f962..2932f356f 100644 --- a/tests/test_domain_cpp.py +++ b/tests/test_domain_cpp.py @@ -508,6 +508,13 @@ def test_attributes(): # raise DefinitionError("") +@pytest.mark.sphinx(testroot='domain-cpp') +def test_build_domain_cpp_misuse_of_roles(app, status, warning): + app.builder.build_all() + + # TODO: properly check for the warnings we expect + + @pytest.mark.sphinx(testroot='domain-cpp', confoverrides={'add_function_parentheses': True}) def test_build_domain_cpp_with_add_function_parentheses_is_True(app, status, warning): app.builder.build_all() |
