Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJakob Lykke Andersen <Jakob@caput.dk>2022-03-12 22:05:26 +0300
committerJakob Lykke Andersen <Jakob@caput.dk>2022-03-12 22:05:26 +0300
commit9362df53be33bd2b5702afb2da3315d327cc838b (patch)
tree72946b6403b12dc48354a5e6ba98b97f1d32725d /tests
parent926fab0a01ee0c22275edc45e35c794fca7f4023 (diff)
C++, minor formatting
Diffstat (limited to 'tests')
-rw-r--r--tests/test_domain_cpp.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_domain_cpp.py b/tests/test_domain_cpp.py
index e811af335..389f77f7c 100644
--- a/tests/test_domain_cpp.py
+++ b/tests/test_domain_cpp.py
@@ -996,10 +996,9 @@ def test_domain_cpp_ast_attributes():
# position: parameters and qualifiers
check('function', 'void f() [[attr1]] [[attr2]]', {1: 'f', 2: '1fv'})
- # position: class
+ # position: class, union, enum
check('class', '{key}[[nodiscard]] Foo', {1: 'Foo', 2: '3Foo'}, key='class')
check('union', '{key}[[nodiscard]] Foo', {1: None, 2: '3Foo'}, key='union')
- # position: enum
check('enum', '{key}[[nodiscard]] Foo', {1: None, 2: '3Foo'}, key='enum')