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:03:05 +0300
committerGitHub <noreply@github.com>2022-03-11 16:03:05 +0300
commita9a5cec681a02815b51b977857cc9d3835dcf47f (patch)
tree3dbaaa6f616abe875c0aacfb0a57596356040abc /tests
parent2c1e4c437e7aa397624b293017d02dde7dd41070 (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 96f03d611..e811af335 100644
--- a/tests/test_domain_cpp.py
+++ b/tests/test_domain_cpp.py
@@ -1000,8 +1000,7 @@ def test_domain_cpp_ast_attributes():
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', 3: '3Foo', 4: '3Foo'},
- key='enum')
+ check('enum', '{key}[[nodiscard]] Foo', {1: None, 2: '3Foo'}, key='enum')
def test_domain_cpp_ast_xref_parsing():