Skip to content

Commit e71c7e7

Browse files
committed
Swift: Autoformat.
1 parent a594360 commit e71c7e7

File tree

1 file changed

+3
-7
lines changed
  • swift/ql/test/library-tests/elements/expr/assignment

1 file changed

+3
-7
lines changed

swift/ql/test/library-tests/elements/expr/assignment/assignment.ql

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ string describe(Expr e) {
3030
e instanceof AssignOrExpr and result = "AssignOrExpr"
3131
or
3232
e instanceof AssignXorExpr and result = "AssignXorExpr"
33-
or
33+
or
3434
e instanceof AssignPointwiseAndExpr and result = "AssignPointwiseAndExpr"
3535
or
3636
e instanceof AssignPointwiseOrExpr and result = "AssignPointwiseOrExpr"
@@ -41,10 +41,6 @@ string describe(Expr e) {
4141
}
4242

4343
from Assignment e
44-
where
45-
e.getLocation().getFile().getBaseName() != ""
46-
select
47-
e,
48-
concat(describe(e), ", "),
49-
concat(e.getDest().toString(), ", "),
44+
where e.getLocation().getFile().getBaseName() != ""
45+
select e, concat(describe(e), ", "), concat(e.getDest().toString(), ", "),
5046
concat(e.getSource().toString(), ", ")

0 commit comments

Comments
 (0)