[cfe-commits] r138786 - /cfe/trunk/bindings/python/tests/cindex/test_diagnostics.py

Douglas Gregor dgregor at apple.com
Mon Aug 29 17:16:30 PDT 2011


Author: dgregor
Date: Mon Aug 29 19:16:30 2011
New Revision: 138786

URL: http://llvm.org/viewvc/llvm-project?rev=138786&view=rev
Log:
Update python testcase for GNU old-style field designator warning,
from Anders Waldenborg!

Modified:
    cfe/trunk/bindings/python/tests/cindex/test_diagnostics.py

Modified: cfe/trunk/bindings/python/tests/cindex/test_diagnostics.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/bindings/python/tests/cindex/test_diagnostics.py?rev=138786&r1=138785&r2=138786&view=diff
==============================================================================
--- cfe/trunk/bindings/python/tests/cindex/test_diagnostics.py (original)
+++ cfe/trunk/bindings/python/tests/cindex/test_diagnostics.py Mon Aug 29 19:16:30 2011
@@ -36,7 +36,7 @@
     assert len(tu.diagnostics) == 1
     assert tu.diagnostics[0].severity == Diagnostic.Warning
     assert tu.diagnostics[0].location.line == 1
-    assert tu.diagnostics[0].location.column == 31
+    assert tu.diagnostics[0].location.column == 26
     assert tu.diagnostics[0].spelling.startswith('use of GNU old-style')
     assert len(tu.diagnostics[0].fixits) == 1
     assert tu.diagnostics[0].fixits[0].range.start.line == 1





More information about the cfe-commits mailing list