]> granicus.if.org Git - clang/commitdiff
Update python testcase for GNU old-style field designator warning,
authorDouglas Gregor <dgregor@apple.com>
Tue, 30 Aug 2011 00:16:30 +0000 (00:16 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 30 Aug 2011 00:16:30 +0000 (00:16 +0000)
from Anders Waldenborg!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138786 91177308-0d34-0410-b5e6-96231b3b80d8

bindings/python/tests/cindex/test_diagnostics.py

index c1ff0e38baada2a903557801ec5e2aa5d77d3586..98f97d3bd3b130cf85a4b595de456289f1212400 100644 (file)
@@ -36,7 +36,7 @@ def test_diagnostic_fixit():
     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