diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2018-12-13 17:39:02 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2018-12-13 17:39:02 +0000 |
commit | 8b325fc706d5f837e673b4b5807d2f952fd58795 (patch) | |
tree | 7ba8bc10462be0ab2fabb84938b4f4c214da740c | |
parent | 69e181d4c6653ce12c77c019bc66105722522c2a (diff) |
Try to update the test to fix the breakage
With the new warning, we are showing one more output in the test.
llvm-svn: 349064
-rw-r--r-- | clang/bindings/python/tests/cindex/test_diagnostics.py | 2 |
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 79d7a5fd411d..248cf9456987 100644 --- a/clang/bindings/python/tests/cindex/test_diagnostics.py +++ b/clang/bindings/python/tests/cindex/test_diagnostics.py @@ -15,7 +15,7 @@ import unittest class TestDiagnostics(unittest.TestCase): def test_diagnostic_warning(self): tu = get_tu('int f0() {}\n') - self.assertEqual(len(tu.diagnostics), 1) + self.assertEqual(len(tu.diagnostics), 2) self.assertEqual(tu.diagnostics[0].severity, Diagnostic.Warning) self.assertEqual(tu.diagnostics[0].location.line, 1) self.assertEqual(tu.diagnostics[0].location.column, 11) |