summaryrefslogtreecommitdiffstats
path: root/clang/bindings/python/tests/cindex/test_diagnostics.py
diff options
context:
space:
mode:
Diffstat (limited to 'clang/bindings/python/tests/cindex/test_diagnostics.py')
-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 c17d5b28efe..52928db7303 100644
--- a/clang/bindings/python/tests/cindex/test_diagnostics.py
+++ b/clang/bindings/python/tests/cindex/test_diagnostics.py
@@ -20,7 +20,7 @@ class TestDiagnostics(unittest.TestCase):
self.assertEqual(tu.diagnostics[0].location.line, 1)
self.assertEqual(tu.diagnostics[0].location.column, 11)
self.assertEqual(tu.diagnostics[0].spelling,
- 'control reaches end of non-void function')
+ 'non-void function does not return a value')
def test_diagnostic_note(self):
# FIXME: We aren't getting notes here for some reason.
OpenPOWER on IntegriCloud