Skip to content

Commit

Permalink
test: fix for PHP 7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Sep 17, 2018
1 parent b406893 commit e5e6a36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/dibi/exceptions.sqlite.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ $conn->loadFile(__DIR__ . "/data/$config[system].sql");

$e = Assert::exception(function () use ($conn) {
$conn->query('SELECT');
}, Dibi\DriverException::class, '%a% syntax error', 1);
}, Dibi\DriverException::class, '%a%', 1);

Assert::same('SELECT', $e->getSql());

Expand Down

0 comments on commit e5e6a36

Please sign in to comment.