File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 9
9
10
10
/* foo */
11
11
// ^ source.c comment.block
12
- // <- punctuation.definition.comment.c
13
- // ^ punctuation.definition.comment.c
12
+ // <- punctuation.definition.comment
13
+ // ^ punctuation.definition.comment
14
14
15
15
#include " stdio.h"
16
16
// <- meta.preprocessor
Original file line number Diff line number Diff line change 9
9
10
10
/* foo */
11
11
// ^ source.c comment.block
12
- // <- punctuation.definition.comment.c
13
- // ^ punctuation.definition.comment.c
12
+ // <- punctuation.definition.comment
13
+ // ^ punctuation.definition.comment
14
14
15
15
#include " stdio.h"
16
16
// <- meta.preprocessor
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ class TestSyntax(UnitTestingTestCase):
162
162
163
163
@with_package ("_Syntax_Failure" , syntax_test = True )
164
164
def test_fail_syntax (self , txt ):
165
- self .assertRegexContains (txt , r'^FAILED: 1 of 21 assertions in 1 file failed$' )
165
+ self .assertRegexContains (txt , r'^FAILED: 1 of \d+ assertions in 1 file failed$' )
166
166
167
167
@with_package ("_Syntax_Success" , syntax_test = True )
168
168
def test_success_syntax (self , txt ):
You can’t perform that action at this time.
0 commit comments