summaryrefslogtreecommitdiffstats
path: root/bindings/python/tests/cindex/test_cdb.py
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/python/tests/cindex/test_cdb.py')
-rw-r--r--bindings/python/tests/cindex/test_cdb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bindings/python/tests/cindex/test_cdb.py b/bindings/python/tests/cindex/test_cdb.py
index 374f99bcbf..d0f580ea9f 100644
--- a/bindings/python/tests/cindex/test_cdb.py
+++ b/bindings/python/tests/cindex/test_cdb.py
@@ -41,7 +41,7 @@ def test_1_compilecommand():
expected = [ 'clang++', '-o', 'project.o', '-c',
'/home/john.doe/MyProject/project.cpp']
for arg, exp in zip(cmds[0].arguments, expected):
- assert arg.spelling == exp
+ assert arg == exp
def test_2_compilecommand():
"""Check file with 2 compile commands"""
@@ -59,7 +59,7 @@ def test_2_compilecommand():
for i in range(len(cmds)):
assert cmds[i].directory == expected[i]['wd']
for arg, exp in zip(cmds[i].arguments, expected[i]['line']):
- assert arg.spelling == exp
+ assert arg == exp
def test_compilecommand_iterator_stops():
"""Check that iterator stops after the correct number of elements"""