From a6ea95ad640a5924fee7149bc1f8bab20601d893 Mon Sep 17 00:00:00 2001 From: Igor Kudrin Date: Tue, 18 Oct 2016 09:30:33 +0000 Subject: [PATCH] [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 llvm-svn: 284463 --- clang/bindings/python/tests/cindex/test_cursor_kind.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clang/bindings/python/tests/cindex/test_cursor_kind.py b/clang/bindings/python/tests/cindex/test_cursor_kind.py index 5bac289..4d8d88b 100644 --- a/clang/bindings/python/tests/cindex/test_cursor_kind.py +++ b/clang/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 -- 2.7.4