Skip to content

Commit

Permalink
[Filesystem] Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Apr 19, 2012
1 parent 0f913fa commit 7ef38c1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Tests/FilesystemTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ public function testRemoveIgnoresNonExistingFiles()

public function testRemoveCleansInvalidLinks()
{
$this->markAsSkippeIfSymlinkIsMissing();
$this->markAsSkippedIfSymlinkIsMissing();

$basePath = $this->workspace.DIRECTORY_SEPARATOR.'directory'.DIRECTORY_SEPARATOR;

Expand Down Expand Up @@ -392,7 +392,7 @@ public function testRenameThrowsExceptionOnError()

public function testSymlink()
{
$this->markAsSkippeIfSymlinkIsMissing();
$this->markAsSkippedIfSymlinkIsMissing();

$file = $this->workspace.DIRECTORY_SEPARATOR.'file';
$link = $this->workspace.DIRECTORY_SEPARATOR.'link';
Expand All @@ -407,7 +407,7 @@ public function testSymlink()

public function testSymlinkIsOverwrittenIfPointsToDifferentTarget()
{
$this->markAsSkippeIfSymlinkIsMissing();
$this->markAsSkippedIfSymlinkIsMissing();

$file = $this->workspace.DIRECTORY_SEPARATOR.'file';
$link = $this->workspace.DIRECTORY_SEPARATOR.'link';
Expand All @@ -423,7 +423,7 @@ public function testSymlinkIsOverwrittenIfPointsToDifferentTarget()

public function testSymlinkIsNotOverwrittenIfAlreadyCreated()
{
$this->markAsSkippeIfSymlinkIsMissing();
$this->markAsSkippedIfSymlinkIsMissing();

$file = $this->workspace.DIRECTORY_SEPARATOR.'file';
$link = $this->workspace.DIRECTORY_SEPARATOR.'link';
Expand Down Expand Up @@ -490,7 +490,7 @@ public function testMirrorCopiesFilesAndDirectoriesRecursively()

public function testMirrorCopiesLinks()
{
$this->markAsSkippeIfSymlinkIsMissing();
$this->markAsSkippedIfSymlinkIsMissing();

$sourcePath = $this->workspace.DIRECTORY_SEPARATOR.'source'.DIRECTORY_SEPARATOR;

Expand Down Expand Up @@ -541,7 +541,7 @@ private function getFilePermisions($filePath)
return (int) substr(sprintf('%o', fileperms($filePath)), -3);
}

private function markAsSkippeIfSymlinkIsMissing()
private function markAsSkippedIfSymlinkIsMissing()
{
if (!function_exists('symlink')) {
$this->markTestSkipped('symlink is not supported');
Expand Down

0 comments on commit 7ef38c1

Please sign in to comment.