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:
authorJeremy Maitin-Shepard <jeremy@jeremyms.com>2022-03-11 16:02:54 +0300
committerGitHub <noreply@github.com>2022-03-11 16:02:54 +0300
commitce82f9ee9ce1e3bcedd5786c155f5594a48f4068 (patch)
tree2c13ea4627306eb83607b572f5b9e3c3be9c5bd6 /tests
parent2307e9f171cef9195114a2a02f1e4496bf38c294 (diff)
Update tests/test_domain_cpp.py
Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
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 f5b54949f..e3dba78ba 100644
--- a/tests/test_domain_cpp.py
+++ b/tests/test_domain_cpp.py
@@ -997,8 +997,7 @@ def test_domain_cpp_ast_attributes():
check('function', 'void f() [[attr1]] [[attr2]]', {1: 'f', 2: '1fv'})
# position: class
- check('class', '{key}[[nodiscard]] Foo', {1: 'Foo', 2: '3Foo', 3: '3Foo', 4: '3Foo'},
- key='class')
+ check('class', '{key}[[nodiscard]] Foo', {1: 'Foo', 2: '3Foo'}, key='class')
check('union', '{key}[[nodiscard]] Foo', {1: None, 2: '3Foo', 3: '3Foo', 4: '3Foo'},
key='union')
# position: enum