Skip to content
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.

Commit

Permalink
Merge branch 'MikaFima-fix/json-sizeof'
Browse files Browse the repository at this point in the history
  • Loading branch information
sanpii committed Jan 14, 2015
2 parents a50841e + c31017b commit 84ae6a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Context/JsonContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function theJsonNodeShouldHaveElements($node, $count)

$actual = $this->inspector->evaluate($json, $node);

$this->assertSame($count, sizeof($actual));
$this->assertSame($nth, sizeof((array) $actual));
}

/**
Expand Down

0 comments on commit 84ae6a1

Please sign in to comment.