From 888982e42ba1b3098abbc1fd5e605d35ba51b34b Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Tue, 30 Aug 2011 00:16:30 +0000 Subject: [PATCH] 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 --- bindings/python/tests/cindex/test_diagnostics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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