summaryrefslogtreecommitdiffstats
path: root/bindings/python/tests
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-08-30 00:16:30 +0000
committerDouglas Gregor <dgregor@apple.com>2011-08-30 00:16:30 +0000
commit888982e42ba1b3098abbc1fd5e605d35ba51b34b (patch)
treeed55ac6005a0f0c92c85663678bbec38e8885863 /bindings/python/tests
parentb60a2bebb5f3048f6c53d4f3997ebd84493a2d98 (diff)
Update python testcase for GNU old-style field designator warning,
from Anders Waldenborg! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138786 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings/python/tests')
-rw-r--r--bindings/python/tests/cindex/test_diagnostics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python/tests/cindex/test_diagnostics.py b/bindings/python/tests/cindex/test_diagnostics.py
index c1ff0e38ba..98f97d3bd3 100644
--- a/bindings/python/tests/cindex/test_diagnostics.py
+++ b/bindings/python/tests/cindex/test_diagnostics.py
@@ -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