File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
clang/bindings/python/tests/cindex Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ def test_diagnostic_category(self):
7979 self .assertEqual (d .location .line , 1 )
8080 self .assertEqual (d .location .column , 11 )
8181
82- self .assertEqual (d .category_number , 2 )
82+ self .assertEqual (d .category_number , 3 )
8383 self .assertEqual (d .category_name , "Semantic Issue" )
8484
8585 def test_diagnostic_option (self ):
@@ -123,7 +123,7 @@ def test_diagnostic_string_format(self):
123123 self .assertEqual (str (d ), "t.c:1:26: error: expected ';' after struct" )
124124 self .assertEqual (
125125 d .format (0b111111 ),
126- "t.c:1:26: error: expected ';' after struct [3 , Parse Issue]" ,
126+ "t.c:1:26: error: expected ';' after struct [2 , Parse Issue]" ,
127127 )
128128 with self .assertRaises (ValueError ):
129129 d .format (0b1000000 )
You can’t perform that action at this time.
0 commit comments