Skip to content

Commit

Permalink
Fix test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrp committed Oct 20, 2013
1 parent 10955bc commit f8f43a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/classes/PMA_Error_test.php
Expand Up @@ -79,7 +79,8 @@ public function testSetLine()
public function testSetFile()
{
$this->object->setFile('./pma.txt');
$this->assertStringStartsWith('./../../', $this->object->getFile());
$this->assertStringStartsWith(implode(
DIRECTORY_SEPARATOR, array('.', '..', '..')), $this->object->getFile());
}

/**
Expand Down

0 comments on commit f8f43a1

Please sign in to comment.