Changeset 2574
- Timestamp:
- 10/31/06 07:44:28 (2 years ago)
- Files:
-
- tools/pake/trunk/lib/pake/pakeApp.class.php (modified) (1 diff)
- tools/pake/trunk/test/pakeGetoptTest.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tools/pake/trunk/lib/pake/pakeApp.class.php
r2456 r2574 355 355 356 356 // remove leading / 357 $files = array_map(create_function('$f', 'return false === strpos($f, DIRECTORY_SEPARATOR) ? $f : substr($f, 1);'), $files);357 $files = array_map(create_function('$f', 'return 0 === strpos($f, DIRECTORY_SEPARATOR) ? substr($f, 1) : $f;'), $files); 358 358 } 359 359 tools/pake/trunk/test/pakeGetoptTest.php
r1765 r2574 20 20 catch (pakeException $e) 21 21 { 22 $this->assertWantedPattern('/ you cannot get a value for a NO_ARGUMENT/', $e->getMessage());22 $this->assertWantedPattern('/You cannot get a value for a NO_ARGUMENT/', $e->getMessage()); 23 23 } 24 24