Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
22 | public function headsCommand() |
||
23 | { |
||
24 | $headsCmd = Factory::createHeads(); |
||
25 | $headsCmd->setTemplate('template'); |
||
26 | $headsCmd->setClosed(true); |
||
27 | $headsCmd->setRev('startrev'); |
||
28 | $headsCmd->setTopo(true); |
||
29 | |||
30 | $expected = 'hg heads --rev ' . escapeshellarg('startrev') . ' --topo --closed --template ' . escapeshellarg('template'); |
||
31 | |||
32 | $this->assertSame($expected, $headsCmd->asString()); |
||
33 | } |
||
34 | } |
||
35 |