From: Gregory Szorc Date: Sun, 26 Feb 2012 21:56:32 +0000 (+0000) Subject: [clang.py] Test Cursor.__ne__ X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e75f33063e72f4ca87b8ba17580d5ca4c90d9e80;p=clang [clang.py] Test Cursor.__ne__ git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151504 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/bindings/python/tests/cindex/test_cursor.py b/bindings/python/tests/cindex/test_cursor.py index 71ee0c5763..d58ca95b7e 100644 --- a/bindings/python/tests/cindex/test_cursor.py +++ b/bindings/python/tests/cindex/test_cursor.py @@ -36,6 +36,7 @@ def test_get_children(): assert len(tu_nodes) == 3 + assert tu_nodes[0] != tu_nodes[1] assert tu_nodes[0].kind == CursorKind.STRUCT_DECL assert tu_nodes[0].spelling == 's0' assert tu_nodes[0].is_definition() == True