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 1
1
import rust
2
+ import TestUtils
2
3
3
- query predicate charLiteral ( CharLiteralExpr e ) { any ( ) }
4
+ query predicate charLiteral ( CharLiteralExpr e ) { toBeTested ( e ) }
4
5
5
- query predicate stringLiteral ( StringLiteralExpr e ) { any ( ) }
6
+ query predicate stringLiteral ( StringLiteralExpr e ) { toBeTested ( e ) }
6
7
7
8
query predicate integerLiteral ( IntegerLiteralExpr e , string suffix ) {
8
- suffix = concat ( e .getSuffix ( ) )
9
+ toBeTested ( e ) and suffix = concat ( e .getSuffix ( ) )
9
10
}
10
11
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
+ }
12
15
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