mirror of https://github.com/AMT-Cheif/drift.git
Add trailing commas for readability
This commit is contained in:
parent
26fd4bf11e
commit
ff11a2a757
|
@ -50,8 +50,12 @@ void main() {
|
|||
Reference(entityName: 'b', columnName: 'id'),
|
||||
token(TokenType.equal),
|
||||
Reference(entityName: 'foo', columnName: 'id'),
|
||||
))))
|
||||
]));
|
||||
),
|
||||
),
|
||||
),
|
||||
)
|
||||
]),
|
||||
);
|
||||
});
|
||||
|
||||
test('parses updates with column-name-list and scalar rowValues', () {
|
||||
|
@ -65,10 +69,12 @@ void main() {
|
|||
columns: [Reference(columnName: 'a'), Reference(columnName: 'b')],
|
||||
rowValue: Tuple(expressions: [
|
||||
Reference(columnName: "b"),
|
||||
BinaryExpression(NumericLiteral(3), token(TokenType.plus),
|
||||
NumericLiteral(4)),
|
||||
], usedAsRowValue: true))
|
||||
]));
|
||||
BinaryExpression(
|
||||
NumericLiteral(3), token(TokenType.plus), NumericLiteral(4)),
|
||||
], usedAsRowValue: true),
|
||||
)
|
||||
]),
|
||||
);
|
||||
});
|
||||
|
||||
test('parses updates with FROM clause', () {
|
||||
|
|
Loading…
Reference in New Issue