mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #7708 from jakobandersen/c_cpp_fix_test_typo
C, C++: fix typo in tests
This commit is contained in:
commit
589df567c0
@ -400,7 +400,7 @@ def test_function_definitions():
|
||||
output='void f(int arr[static volatile const 42])')
|
||||
|
||||
|
||||
class test_nested_name():
|
||||
def test_nested_name():
|
||||
check('struct', '{key}.A', {1: "A"})
|
||||
check('struct', '{key}.A.B', {1: "A.B"})
|
||||
check('function', 'void f(.A a)', {1: "f"})
|
||||
|
@ -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"})
|
||||
|
Loading…
Reference in New Issue
Block a user