1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-08 07:06:52 +02:00

whitespace

This commit is contained in:
David Grudl
2017-09-21 14:17:14 +02:00
parent 4472fb3a3d
commit f0d08a990c

View File

@@ -18,7 +18,8 @@ Assert::same(
$conn->translate('REPLACE INTO [products]', [ $conn->translate('REPLACE INTO [products]', [
'title' => 'Drticka', 'title' => 'Drticka',
'price' => 318, 'price' => 318,
])); ])
);
// multiple INSERT command // multiple INSERT command
@@ -51,7 +52,8 @@ Assert::same(
$conn->translate('UPDATE [colors] SET', [ $conn->translate('UPDATE [colors] SET', [
'color' => 'blue', 'color' => 'blue',
'order' => 12, 'order' => 12,
], 'WHERE [id]=%i', 123)); ], 'WHERE [id]=%i', 123)
);
// IN array // IN array
@@ -194,7 +196,8 @@ Assert::same(
'b8%d' => null, 'b8%d' => null,
'b9%t' => null, 'b9%t' => null,
'c1%t' => new DateTime('1212-09-26 16:51:34.0124'), 'c1%t' => new DateTime('1212-09-26 16:51:34.0124'),
])); ])
);
Assert::exception(function () use ($conn) { Assert::exception(function () use ($conn) {
$conn->translate('SELECT %s', new DateTime('1212-09-26')); $conn->translate('SELECT %s', new DateTime('1212-09-26'));