File tree Expand file tree Collapse file tree
test/query-tests/Expressions/MissingSpaceInAppend Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ Expr leftChild(Expr e) {
2323}
2424
2525predicate isInConcat ( Expr e ) {
26- exists ( ParExpr par | par .getExpression ( ) = e )
26+ exists ( ParExpr par | isInConcat ( par ) and par .getExpression ( ) = e )
2727 or
2828 exists ( AddExpr a | a .getAnOperand ( ) = e )
2929}
Original file line number Diff line number Diff line change 1111| missing.js:24:5:24:21 | `missing a space` | This string appears to be missing a space after 'space'. |
1212| missing.js:26:5:26:21 | "missing a space" | This string appears to be missing a space after 'space'. |
1313| 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" +
2727 `here` ;
2828s = `missing a space` +
2929 `here` ;
30+ s = ( ( "missing space" ) + "here" )
3031
3132s = ( ( "h. 0" + "h" ) ) + "word"
You can’t perform that action at this time.
0 commit comments