Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
Update LambdaTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
perryflynn committed Jul 14, 2016
1 parent 1b338d2 commit 72a8f7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/LambdaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ public function testScalarAccess()
{
$named = new \PerrysLambda\ObjectArray(array('foo'=>'bar', 'foo2'=>'bar2', 'foobar'=>'barfoo'));

$this->assertSame(true, $named->fooScalar instanceof \PerrysLambda\ScalarProperty)
$this->assertSame(true, $named->getScalar('foo') instanceof \PerrysLambda\ScalarProperty)
$this->assertSame(true, $named->fooScalar instanceof \PerrysLambda\ScalarProperty);
$this->assertSame(true, $named->getScalar('foo') instanceof \PerrysLambda\ScalarProperty);
$this->assertSame('bar', $named->getScalarAt(0)->toString());
}

Expand Down

0 comments on commit 72a8f7f

Please sign in to comment.