);
$url = $match['file'] . $match['query'];
- $file = $local . $match['file'];
+ $file = "{$local}/{$match['file']}";
if (
!self::isRemoteUrl( $url ) && !self::isLocalUrl( $url )
&& file_exists( $file )
* @covers CSSMin::remap
*/
public function testRemapRemapping( $message, $input, $expectedOutput ) {
- $localPath = __DIR__ . '/../../data/cssmin/';
- $remotePath = 'http://localhost/w/';
+ $localPath = __DIR__ . '/../../data/cssmin';
+ $remotePath = 'http://localhost/w';
$realOutput = CSSMin::remap( $input, $localPath, $remotePath );
$this->assertEquals( $expectedOutput, $realOutput, "CSSMin::remap: $message" );