File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 11import rust
2+ import TestUtils
23
3- query predicate charLiteral ( CharLiteralExpr e ) { any ( ) }
4+ query predicate charLiteral ( CharLiteralExpr e ) { toBeTested ( e ) }
45
5- query predicate stringLiteral ( StringLiteralExpr e ) { any ( ) }
6+ query predicate stringLiteral ( StringLiteralExpr e ) { toBeTested ( e ) }
67
78query predicate integerLiteral ( IntegerLiteralExpr e , string suffix ) {
8- suffix = concat ( e .getSuffix ( ) )
9+ toBeTested ( e ) and suffix = concat ( e .getSuffix ( ) )
910}
1011
11- query predicate floatLiteral ( FloatLiteralExpr e , string suffix ) { suffix = concat ( e .getSuffix ( ) ) }
12+ query predicate floatLiteral ( FloatLiteralExpr e , string suffix ) {
13+ toBeTested ( e ) and suffix = concat ( e .getSuffix ( ) )
14+ }
1215
13- query predicate booleanLiteral ( BooleanLiteralExpr e ) { any ( ) }
16+ query predicate booleanLiteral ( BooleanLiteralExpr e ) { toBeTested ( e ) }
You can’t perform that action at this time.
0 commit comments