1--TEST--
2DirectoryIterator: Test empty value to DirectoryIterator constructor
3--CREDITS--
4Havard Eide <nucleuz@gmail.com>
5#PHPTestFest2009 Norway 2009-06-09 \o/
6--FILE--
7<?php
8try {
9    $it = new DirectoryIterator("");
10} catch (\ValueError $e) {
11    echo $e->getMessage() . \PHP_EOL;
12}
13?>
14--EXPECT--
15DirectoryIterator::__construct(): Argument #1 ($directory) must not be empty
16