Skip to content

Commit 89658f5

Browse files
authored
[libclang/python] Fix cindex test for cpp lang (#172368)
Fix typo in cindex.py where the C++ support test was incorrectly named test_c instead of test_cpp
1 parent 644fd3b commit 89658f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/bindings/python/tests/cindex/test_cursor_language.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def test_c(self):
1616
main_func = get_cursor(tu.cursor, "a")
1717
self.assertEqual(main_func.language, LanguageKind.C)
1818

19-
def test_c(self):
19+
def test_cpp(self):
2020
tu = get_tu("class Cls {};", lang="cpp")
2121
main_func = get_cursor(tu.cursor, "Cls")
2222
self.assertEqual(main_func.language, LanguageKind.C_PLUS_PLUS)

0 commit comments

Comments
 (0)