From 6a4f77b684ecf5a47bb5d578145dc154e4efb5e3 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Mon, 17 Sep 2018 13:28:10 +0200 Subject: [PATCH] test: fix for PHP 7.3 --- tests/dibi/exceptions.sqlite.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/dibi/exceptions.sqlite.phpt b/tests/dibi/exceptions.sqlite.phpt index 6954bfb7..4666edb5 100644 --- a/tests/dibi/exceptions.sqlite.phpt +++ b/tests/dibi/exceptions.sqlite.phpt @@ -15,7 +15,7 @@ $conn->loadFile(__DIR__ . "/data/$config[system].sql"); $e = Assert::exception(function () use ($conn) { $conn->query('SELECT'); -}, 'Dibi\DriverException', '%a% syntax error', 1); +}, 'Dibi\DriverException', '%a%', 1); Assert::same('SELECT', $e->getSql());