Update python testcase for GNU old-style field designator warning,

from Anders Waldenborg!

llvm-svn: 138786
This commit is contained in:
Douglas Gregor 2011-08-30 00:16:30 +00:00
parent 7c7c068251
commit 506d34a0df
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ def test_diagnostic_fixit():
assert len(tu.diagnostics) == 1 assert len(tu.diagnostics) == 1
assert tu.diagnostics[0].severity == Diagnostic.Warning assert tu.diagnostics[0].severity == Diagnostic.Warning
assert tu.diagnostics[0].location.line == 1 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 tu.diagnostics[0].spelling.startswith('use of GNU old-style')
assert len(tu.diagnostics[0].fixits) == 1 assert len(tu.diagnostics[0].fixits) == 1
assert tu.diagnostics[0].fixits[0].range.start.line == 1 assert tu.diagnostics[0].fixits[0].range.start.line == 1