summaryrefslogtreecommitdiff
path: root/bindings
diff options
context:
space:
mode:
authorIgor Kudrin <ikudrin.dev@gmail.com>2016-10-18 09:30:33 +0000
committerIgor Kudrin <ikudrin.dev@gmail.com>2016-10-18 09:30:33 +0000
commit6faa0fe5418143cfaf2155fa3c87a82b6edfb383 (patch)
treeb5515c7ed8049b8092bc9744ce6cd6235e037a4a /bindings
parent4538dad844525b875d5f5799ea4e531ebb8a06df (diff)
[libclang] Fix a failure in a test for python bindings on CursorKind.OVERLOAD_CANDIDATE.
The test fails because the value does not lay in any existing group. Differential Revision: https://reviews.llvm.org/D25470 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@284463 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings')
-rw-r--r--bindings/python/tests/cindex/test_cursor_kind.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bindings/python/tests/cindex/test_cursor_kind.py b/bindings/python/tests/cindex/test_cursor_kind.py
index 5bac289625..4d8d88b921 100644
--- a/bindings/python/tests/cindex/test_cursor_kind.py
+++ b/bindings/python/tests/cindex/test_cursor_kind.py
@@ -42,7 +42,8 @@ def test_kind_groups():
CursorKind.MACRO_DEFINITION,
CursorKind.MACRO_INSTANTIATION,
CursorKind.INCLUSION_DIRECTIVE,
- CursorKind.PREPROCESSING_DIRECTIVE):
+ CursorKind.PREPROCESSING_DIRECTIVE,
+ CursorKind.OVERLOAD_CANDIDATE):
assert len(group) == 0
else:
assert len(group) == 1