From f51b7f1615e84757bfcc327a8e90371382db0e67 Mon Sep 17 00:00:00 2001 From: TB Schardl Date: Wed, 6 Jul 2022 23:48:28 +0000 Subject: [PATCH] [bindings/python] Update diagnostics test. --- clang/bindings/python/tests/cindex/test_diagnostics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/bindings/python/tests/cindex/test_diagnostics.py b/clang/bindings/python/tests/cindex/test_diagnostics.py index 8b0f04256883..2b4283266ecd 100644 --- a/clang/bindings/python/tests/cindex/test_diagnostics.py +++ b/clang/bindings/python/tests/cindex/test_diagnostics.py @@ -77,7 +77,7 @@ def test_diagnostic_category(self): self.assertEqual(d.location.line, 1) self.assertEqual(d.location.column, 11) - self.assertEqual(d.category_number, 2) + self.assertEqual(d.category_number, 3) self.assertEqual(d.category_name, 'Semantic Issue') def test_diagnostic_option(self):