We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5f650f commit e6d29b3Copy full SHA for e6d29b3
1 file changed
tests/Phug/Command/DistTest.php
@@ -93,13 +93,14 @@ public function testRun()
93
}
94
95
$this->assertTrue($return);
96
+ $path = $directory1.DIRECTORY_SEPARATOR;
97
$expected = implode("\n", [
98
'vendor/package',
99
'#[1;35mBuild vendor/sub-package',
- "#[0m#[1;32mgit clone $directory2 $directory1\dist/vendor/sub-package",
100
- "#[0m#[1;30m#[0m#[1;34mcd $directory1\dist/vendor/sub-package",
+ "#[0m#[1;32mgit clone $directory2 {$path}dist/vendor/sub-package",
101
+ "#[0m#[1;30m#[0m#[1;34mcd {$path}dist/vendor/sub-package",
102
'#[0m#[1;32mgit checkout master',
- "#[0m#[1;30m#[0m#[1;35mBuild distributed in $directory1\dist",
103
+ "#[0m#[1;30m#[0m#[1;35mBuild distributed in {$path}dist",
104
'#[0m',
105
]);
106
$this->assertSame($expected, $output);
0 commit comments