Skip to content

Commit

Permalink
typo (code-checker pass)
Browse files Browse the repository at this point in the history
  • Loading branch information
milo committed Dec 19, 2016
1 parent 1a2074d commit 9634df4
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
38 changes: 19 additions & 19 deletions src/Runner/Job.php
Expand Up @@ -203,25 +203,25 @@ public function getExitCode()
}


# TODO
// /**
// * Returns test output.
// * @return string
// */
// public function getOutput()
// {
// return $this->output;
// }
//
//
// /**
// * Returns test error output.
// * @return string|NULL
// */
// public function getErrorOutput()
// {
// return $this->errorOutput;
// }
//# TODO
///**
// * Returns test output.
// * @return string
// */
//public function getOutput()
//{
//return $this->output;
//}


/**
* Returns test error output.
* @return string|NULL
*/
//public function getErrorOutput()
//{
//return $this->errorOutput;
//}


/**
Expand Down
6 changes: 3 additions & 3 deletions src/Runner/TestHandler.php
Expand Up @@ -78,9 +78,9 @@ public function assess(Job $job)
{
$test = $job->getTest();
list($annotations, $testName) = $this->getAnnotations($test->getFile());
// $testName .= /*$job->getArguments()*/ [] # TODO
// ? ' [' . implode(' ', preg_replace(['#["\'-]*(.+?)["\']?$#A', '#(.{30}).+#A'], ['$1', '$1...'], /*$job->getArguments()*/[])) . ']' # TODO
// : '';
//$testName .= /*$job->getArguments()*/ [] # TODO
//? ' [' . implode(' ', preg_replace(['#["\'-]*(.+?)["\']?$#A', '#(.{30}).+#A'], ['$1', '$1...'], /*$job->getArguments()*/[])) . ']' # TODO
//: '';
$annotations += [
'exitcode' => Job::CODE_OK,
'httpcode' => self::HTTP_OK,
Expand Down
4 changes: 2 additions & 2 deletions tests/Runner/Job.phpt
Expand Up @@ -13,8 +13,8 @@ test(function () {
$job->run($job::RUN_COLLECT_ERRORS);

Assert::false($job->isRunning());
// Assert::same($file, $job->getTest()->getFile()); # TODO: tohle do testu Test
// Assert::same($args, $job->getTest()->getArguments());
//Assert::same($file, $job->getTest()->getFile()); # TODO: tohle do testu Test
//Assert::same($args, $job->getTest()->getArguments());
Assert::same(231, $job->getExitCode());

if (defined('PHPDBG_VERSION') && PHP_VERSION_ID === 70000) { // bug #71056
Expand Down

0 comments on commit 9634df4

Please sign in to comment.