Skip to content

Commit

Permalink
Fix syntax error for PHP 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotchance committed Aug 6, 2014
1 parent 8c5883c commit 7a3af34
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Concise/Services/ValueRendererTest.php
Expand Up @@ -69,21 +69,21 @@ public function testFunctionRendersAsString()

public function testRenderAllMethodWithZeroElements()
{
$this->assert($this->renderer->renderAll([]), equals, '');
$this->assert($this->renderer->renderAll(array()), equals, '');
}

public function testRenderAllMethodWithOneElement()
{
$this->assert($this->renderer->renderAll([1]), equals, '1');
$this->assert($this->renderer->renderAll(array(1)), equals, '1');
}

public function testRenderAllMethodWithTwoElements()
{
$this->assert($this->renderer->renderAll([1, 2]), equals, '1, 2');
$this->assert($this->renderer->renderAll(array(1, 2)), equals, '1, 2');
}

public function testRenderAllWithStrings()
{
$this->assert($this->renderer->renderAll(['foo']), equals, '"foo"');
$this->assert($this->renderer->renderAll(array('foo')), equals, '"foo"');
}
}

0 comments on commit 7a3af34

Please sign in to comment.