diff options
author | Gregory Szorc <gregory.szorc@gmail.com> | 2012-02-26 21:56:32 +0000 |
---|---|---|
committer | Gregory Szorc <gregory.szorc@gmail.com> | 2012-02-26 21:56:32 +0000 |
commit | e75f33063e72f4ca87b8ba17580d5ca4c90d9e80 (patch) | |
tree | ca1cc50ac191b069aacef1da82518b923bf234a7 /bindings/python | |
parent | d162cf102449d817a35ae6755b102edcf9d4583b (diff) |
[clang.py] Test Cursor.__ne__
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151504 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings/python')
-rw-r--r-- | bindings/python/tests/cindex/test_cursor.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 |