зеркало из https://github.com/microsoft/clang-1.git
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
This commit is contained in:
Родитель
b60a2bebb5
Коммит
888982e42b
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче