We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72754f8 commit 0737fa4Copy full SHA for 0737fa4
clang/bindings/python/tests/cindex/test_diagnostics.py
@@ -79,7 +79,7 @@ def test_diagnostic_category(self):
79
self.assertEqual(d.location.line, 1)
80
self.assertEqual(d.location.column, 11)
81
82
- self.assertEqual(d.category_number, 2)
+ self.assertEqual(d.category_number, 3)
83
self.assertEqual(d.category_name, "Semantic Issue")
84
85
def test_diagnostic_option(self):
@@ -123,7 +123,7 @@ def test_diagnostic_string_format(self):
123
self.assertEqual(str(d), "t.c:1:26: error: expected ';' after struct")
124
self.assertEqual(
125
d.format(0b111111),
126
- "t.c:1:26: error: expected ';' after struct [3, Parse Issue]",
+ "t.c:1:26: error: expected ';' after struct [2, Parse Issue]",
127
)
128
with self.assertRaises(ValueError):
129
d.format(0b1000000)
0 commit comments