Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Aug 9, 2023
1 parent 56a6204 commit 584f7d0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/dibi/Sqlsrv.limits.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
};

Expand Down

0 comments on commit 584f7d0

Please sign in to comment.