for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Moodle component manager.
*
* @author Luke Carrier <[email protected]>
* @copyright 2016 Luke Carrier
* @license GPL-3.0+
*/
namespace ComponentManager\Test\VersionControl\Git\Command;
use ComponentManager\VersionControl\Git\Command\CheckoutCommand;
use PHPUnit\Framework\TestCase;
class CheckoutCommandTest extends TestCase {
public function testGetCommandLine() {
$command = new CheckoutCommand('some-branch');
$this->assertEquals(['checkout', 'some-branch'], $command->getCommandLine());
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.
}
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.