summaryrefslogtreecommitdiff
path: root/tests/test_domain_cpp.py
diff options
context:
space:
mode:
authorJakob Lykke Andersen <Jakob@caput.dk>2021-11-30 21:57:30 +0100
committerJakob Lykke Andersen <Jakob@caput.dk>2021-11-30 22:00:54 +0100
commitc09643c21fa007cde0f2bfa4fa889e7024d183c4 (patch)
tree80c3127aa24307fd8a2d36c0fb88acc898c84be8 /tests/test_domain_cpp.py
parent67d673406f2b96988fc578c631c7a9696ae6ab1d (diff)
downloadsphinx-git-c09643c21fa007cde0f2bfa4fa889e7024d183c4.tar.gz
C, fix parsing of fundamental types
When multiple simple type specifiers are part of the type, then they may appear in any order.
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 881d911c3..5ff8f8e12 100644
--- a/tests/test_domain_cpp.py
+++ b/tests/test_domain_cpp.py
@@ -144,7 +144,7 @@ def test_domain_cpp_ast_fundamental_types():
output = "void f(%s arg)" % t
check("function", input, {1: id1, 2: id2}, output=output)
if ' ' in t:
- # try permutations of all commponents
+ # try permutations of all components
tcs = t.split()
for p in itertools.permutations(tcs):
input = "void f(%s arg)" % ' '.join(p)