Skip to content

Commit e5e6a36

Browse files
committed
test: fix for PHP 7.3
1 parent b406893 commit e5e6a36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/dibi/exceptions.sqlite.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ $conn->loadFile(__DIR__ . "/data/$config[system].sql");
1717

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

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

0 commit comments

Comments
 (0)