]> granicus.if.org Git - clang/commitdiff
[libclang] Fix a failure in a test for python bindings on CursorKind.OVERLOAD_CANDIDATE.
authorIgor Kudrin <ikudrin.dev@gmail.com>
Tue, 18 Oct 2016 09:30:33 +0000 (09:30 +0000)
committerIgor Kudrin <ikudrin.dev@gmail.com>
Tue, 18 Oct 2016 09:30:33 +0000 (09:30 +0000)
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

bindings/python/tests/cindex/test_cursor_kind.py

index 5bac289625be2f2e01ce5383a24fedebe259b338..4d8d88b92131e1f9c7bba861c9239c593ee995e0 100644 (file)
@@ -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