mirror of
https://github.com/php/php-src.git
synced 2024-11-28 20:34:29 +08:00
Fix test
This commit is contained in:
parent
befe469770
commit
ebf4c8ddb8
@ -9,12 +9,14 @@ Jelle Lampaert
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$db = new SQLite3('db1.db');
|
$db = new SQLite3(__DIR__ . '/db1.db');
|
||||||
$db->open('db1.db');
|
$db->open(__DIR__ . '/db1.db');
|
||||||
} catch (Exception $ex) {
|
} catch (Exception $ex) {
|
||||||
var_dump($ex->getMessage());
|
var_dump($ex->getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
--CLEAN--
|
||||||
|
<?php @unlink(__DIR__ . '/db1.db'); ?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
%string|unicode%(29) "Already initialised DB Object"
|
%string|unicode%(29) "Already initialised DB Object"
|
||||||
|
Loading…
Reference in New Issue
Block a user