Skip to content

Commit

Permalink
Fix PHPDoc wordings
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianfeldmann committed Mar 21, 2017
1 parent dec3b61 commit 48a8336
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tests/phpbu/Cli/Executable/TarTest.php
Expand Up @@ -50,7 +50,7 @@ public function testExclude()
}

/**
* Tests Tar::getCommandLine
* Tests Tar::getCommand
*/
public function testIgnoreFailedRead()
{
Expand All @@ -64,7 +64,7 @@ public function testIgnoreFailedRead()
}

/**
* Tests Tar::getCommandLinePrintable
* Tests Tar::getCommandPrintable
*/
public function testDefaultPrintable()
{
Expand All @@ -78,7 +78,7 @@ public function testDefaultPrintable()
}

/**
* Tests Tar::getCommandLine
* Tests Tar::getCommand
*/
public function testCompressionGzip()
{
Expand All @@ -90,12 +90,12 @@ public function testCompressionGzip()

$this->assertEquals(
PHPBU_TEST_BIN . '/tar -zcf \'/tmp/foo.tar.gz\' -C \'' . $tarC . '\' \'' . $tarD . '\'',
$tar->getCommandLine()
$tar->getCommand()
);
}

/**
* Tests Tar::getCommandLine
* Tests Tar::getCommand
*/
public function testCompressionBzip2()
{
Expand All @@ -107,12 +107,12 @@ public function testCompressionBzip2()

$this->assertEquals(
PHPBU_TEST_BIN . '/tar -jcf \'/tmp/foo.tar.bzip2\' -C \'' . $tarC . '\' \'' . $tarD . '\'',
$tar->getCommandLine()
$tar->getCommand()
);
}

/**
* Tests Tar::getCommandLine
* Tests Tar::getCommand
*/
public function testRemoveSourceDir()
{
Expand All @@ -125,12 +125,12 @@ public function testRemoveSourceDir()
$this->assertEquals(
'(' . PHPBU_TEST_BIN . '/tar -cf \'/tmp/foo.tar\' -C \'' . $tarC . '\' \'' . $tarD . '\''
. ' && rm -rf \'' . $dir . '\')',
$tar->getCommandLine()
$tar->getCommand()
);
}

/**
* Tests Tar::getCommandLine
* Tests Tar::getCommand
*
* @expectedException \phpbu\App\Exception
*/
Expand All @@ -141,7 +141,7 @@ public function testWithoutSource()
}

/**
* Tests Tar::getCommandLine
* Tests Tar::getCommand
*
* @expectedException \phpbu\App\Exception
*/
Expand Down

0 comments on commit 48a8336

Please sign in to comment.