Annotation of embedaddon/php/ext/sqlite3/tests/sqlite3_open_empty_string.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: SQLite3::open test with empty string argument via the constructor
3: --CREDITS--
4: Thijs Feryn <thijs@feryn.eu>
5: #TestFest PHPBelgium 2009
6: --SKIPIF--
7: <?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
8: --FILE--
9: <?php
10: try{
11: $db = new SQLite3('');
12: } catch(Exception $e) {
13: echo $e->getMessage().PHP_EOL;
14: }
15: echo "Done\n";
16: ?>
17: --EXPECTF--
18: Unable to expand filepath
19: Done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>