Skip to content

Commit

Permalink
[C/C++] Fix broken tests (#4013)
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Schaaf <[email protected]>
  • Loading branch information
BenjaminSchaaf and Benjamin Schaaf authored Jul 23, 2024
1 parent 3156bcf commit 2024884
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions C++/syntax_test_c.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,7 @@ int disabled_func() {
#endif

#if 0000000
/*
^^^^^^^ meta.number constant.numeric.value
/* ^^^^^^^ meta.number constant.numeric.value
*/
#endif

Expand All @@ -372,8 +371,7 @@ int disabled_func() {
#endif

#if 0090
/*
^^^^ meta.number constant.numeric.value
/* ^^^^ meta.number constant.numeric.value
*/
#endif

Expand Down
6 changes: 2 additions & 4 deletions C++/syntax_test_cpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,14 +249,12 @@ some_namespace::some_function(int a_parameter, double another_parameter) {
#endif

#if 0000000
/*
^^^^^^^ meta.number constant.numeric.value
/* ^^^^^^^ meta.number constant.numeric.value
*/
#endif

#if 0090
/*
^^^^ meta.number constant.numeric.value
/* ^^^^ meta.number constant.numeric.value
*/
#endif

Expand Down

0 comments on commit 2024884

Please sign in to comment.