Fix test depends of PHP version

This commit is contained in:
bzick 2014-05-06 23:26:28 +04:00
parent 49003c356c
commit 83e02ebbe9
2 changed files with 5 additions and 1 deletions

View File

@ -34,4 +34,8 @@ function dumpt()
}
$e = new Exception();
echo "-------\nDump trace: \n" . $e->getTraceAsString() . "\n";
}
if(PHP_VERSION_ID > 50400) {
function php_gte_54() {}
}

View File

@ -261,7 +261,7 @@ class FenomTest extends \Fenom\TestCase
}
/**
* @requires PHP >=5.4
* @requires function php_gte_54
* @group pipe
*/
public function testPipe()