1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-08 23:26:49 +02:00
This commit is contained in:
David Grudl
2023-08-09 16:10:02 +02:00
parent cf14987b42
commit a0f2ca2fca
2 changed files with 4 additions and 5 deletions

View File

@@ -82,10 +82,9 @@ $tests = function ($conn) {
$conn->translate('SELECT 1 %lmt', -10)
);
Assert::exception(
$conn->translate('SELECT 1 %ofs %lmt', 10, 10),
Dibi\NotSupportedException::class
);
Assert::exception(function () {
$conn->translate('SELECT 1 %ofs %lmt', 10, 10);
}, Dibi\NotSupportedException::class);
}
};