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 | 5b4173912f315df41a6202565a3739281a7d6ba0 (patch) | |
tree | dc239a6631eeaddcd9415e37eeac537ad6294a11 /clang/bindings/python/tests/cindex/test_cursor.py | |
parent | 690a2b09029a6edd22d74d2abee2e8af721466bf (diff) | |
download | bcm5719-llvm-5b4173912f315df41a6202565a3739281a7d6ba0.tar.gz bcm5719-llvm-5b4173912f315df41a6202565a3739281a7d6ba0.zip |
[clang.py] Test Cursor.__ne__
llvm-svn: 151504
Diffstat (limited to 'clang/bindings/python/tests/cindex/test_cursor.py')
-rw-r--r-- | clang/bindings/python/tests/cindex/test_cursor.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/bindings/python/tests/cindex/test_cursor.py b/clang/bindings/python/tests/cindex/test_cursor.py index 71ee0c5763e..d58ca95b7e1 100644 --- a/clang/bindings/python/tests/cindex/test_cursor.py +++ b/clang/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 |