php-src/ext/sqlite3/tests/sqlite3_open_empty_string.phpt
Kalle Sommer Nielsen 7342443074 Added missing SKIPIF
2009-05-22 18:22:15 +00:00

20 lines
380 B
PHP

--TEST--
SQLite3::open test with empty string argument via the constructor
--CREDITS--
Thijs Feryn <thijs@feryn.eu>
#TestFest PHPBelgium 2009
--SKIPIF--
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
--FILE--
<?php
try{
$db = new SQLite3('');
} catch(Exception $e) {
echo $e->getMessage().PHP_EOL;
}
echo "Done\n";
?>
--EXPECTF--
Unable to expand filepath
Done