Skip to content

Commit

Permalink
Add phpunit via phive
Browse files Browse the repository at this point in the history
  • Loading branch information
jaapio committed Jul 29, 2018
1 parent da2460a commit 7858d8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions phive.xml
@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<phive xmlns="https://phar.io/phive">
<phar name="phpunit" version="^6.0.0" installed="6.5.5" location="./tools/phpunit" copy="true"/>
</phive>
Expand Up @@ -9,8 +9,6 @@
* @copyright 2010-2018 Mike van Riel / Naenius (http://www.naenius.com)
* @license http://www.opensource.org/licenses/mit-license.php MIT
* @link http://phpdoc.org
*
*
*/

namespace phpDocumentor\Application\Console;
Expand All @@ -35,6 +33,6 @@ public function testGetLongVersion(): void
$kernelMock->shouldIgnoreMissing();
$feature = new Application($kernelMock);

self::assertRegExp('~phpDocumentor <info>v(\d).(\d).(\d|x)?-(.*)</info>~', $feature->getLongVersion());
self::assertRegExp('~phpDocumentor <info>v(\d).(\d).(\d|x)?-(.*)</info>~', $feature->getLongVersion());
}
}

0 comments on commit 7858d8e

Please sign in to comment.