Skip to content

Commit 584f7d0

Browse files
committed
fix
1 parent 56a6204 commit 584f7d0

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

tests/dibi/Sqlsrv.limits.phpt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,9 @@ $tests = function ($conn) {
8282
$conn->translate('SELECT 1 %lmt', -10)
8383
);
8484

85-
Assert::exception(
86-
$conn->translate('SELECT 1 %ofs %lmt', 10, 10),
87-
Dibi\NotSupportedException::class
88-
);
85+
Assert::exception(function () {
86+
$conn->translate('SELECT 1 %ofs %lmt', 10, 10);
87+
}, Dibi\NotSupportedException::class);
8988
}
9089
};
9190

0 commit comments

Comments
 (0)