summaryrefslogtreecommitdiffstats
path: root/clang/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
commit506d34a0df1a4daf03cc6650dfde5587bc6da13b (patch)
treec1e36d2f9e1224eab8e024d004ddefda4a196fe6 /clang/bindings/python/tests
parent7c7c0682516a00b0f70e76c65ba05229c0039d4b (diff)
downloadbcm5719-llvm-506d34a0df1a4daf03cc6650dfde5587bc6da13b.tar.gz
bcm5719-llvm-506d34a0df1a4daf03cc6650dfde5587bc6da13b.zip
Update python testcase for GNU old-style field designator warning,
from Anders Waldenborg! llvm-svn: 138786
Diffstat (limited to 'clang/bindings/python/tests')
-rw-r--r--clang/bindings/python/tests/cindex/test_diagnostics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/bindings/python/tests/cindex/test_diagnostics.py b/clang/bindings/python/tests/cindex/test_diagnostics.py
index c1ff0e38baa..98f97d3bd3b 100644
--- a/clang/bindings/python/tests/cindex/test_diagnostics.py
+++ b/clang/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
OpenPOWER on IntegriCloud