Esempio n. 1
0
 public function testexpand()
 {
     $paths = FileUtils::expand_path('/path/{to,to2,to3,foo,bar}/end');
     is(count($paths), 5);
     $paths = FileUtils::expand_path('/path/foo/end');
     is(count($paths), 1);
 }