summaryrefslogtreecommitdiff
path: root/tests/test_domain_cpp.py
diff options
context:
space:
mode:
authorJakob Lykke Andersen <Jakob@caput.dk>2020-05-22 15:39:47 +0200
committerJakob Lykke Andersen <Jakob@caput.dk>2020-05-22 15:39:47 +0200
commit07c74b5ff446e54738e3964a15bfe45a876c536a (patch)
tree243c2e6238c98549c3c805f887599529824920ad /tests/test_domain_cpp.py
parent816c61a81194bc96e99d6e05365aafc9c01b2854 (diff)
downloadsphinx-git-07c74b5ff446e54738e3964a15bfe45a876c536a.tar.gz
C, C++: fix typo in tests
Diffstat (limited to 'tests/test_domain_cpp.py')
-rw-r--r--tests/test_domain_cpp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_domain_cpp.py b/tests/test_domain_cpp.py
index 38c89d282..ca70c4fd8 100644
--- a/tests/test_domain_cpp.py
+++ b/tests/test_domain_cpp.py
@@ -663,7 +663,7 @@ def test_operators():
check('function', 'void operator[]()', {1: "subscript-operator", 2: "ixv"})
-class test_nested_name():
+def test_nested_name():
check('class', '{key}::A', {1: "A", 2: "1A"})
check('class', '{key}::A::B', {1: "A::B", 2: "N1A1BE"})
check('function', 'void f(::A a)', {1: "f__A", 2: "1f1A"})