File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
test/query-tests/Expressions/MissingSpaceInAppend Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ Expr leftChild(Expr e) {
23
23
}
24
24
25
25
predicate isInConcat ( Expr e ) {
26
- exists ( ParExpr par | par .getExpression ( ) = e )
26
+ exists ( ParExpr par | isInConcat ( par ) and par .getExpression ( ) = e )
27
27
or
28
28
exists ( AddExpr a | a .getAnOperand ( ) = e )
29
29
}
Original file line number Diff line number Diff line change 11
11
| missing.js:24:5:24:21 | `missing a space` | This string appears to be missing a space after 'space'. |
12
12
| missing.js:26:5:26:21 | "missing a space" | This string appears to be missing a space after 'space'. |
13
13
| missing.js:28:5:28:21 | `missing a space` | This string appears to be missing a space after 'space'. |
14
- | missing.js:31:7:31:12 | "h. 0" | This string appears to be missing a space after '0'. |
14
+ | missing.js:30:7:30:21 | "missing space" | This string appears to be missing a space after 'space'. |
15
+ | missing.js:32:7:32:12 | "h. 0" | This string appears to be missing a space after '0'. |
Original file line number Diff line number Diff line change @@ -27,5 +27,6 @@ s = "missing a space" +
27
27
`here` ;
28
28
s = `missing a space` +
29
29
`here` ;
30
+ s = ( ( "missing space" ) + "here" )
30
31
31
32
s = ( ( "h. 0" + "h" ) ) + "word"
You can’t perform that action at this time.
0 commit comments