Skip to content

Commit

Permalink
Update DeferPropTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
joetannenbaum committed Oct 3, 2024
1 parent 935be8d commit 4905907
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/DeferPropTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ public function test_can_invoke(): void
{
$deferProp = new DeferProp(function () {
return 'A deferred value';
});
}, 'default');

$this->assertSame('A deferred value', $deferProp());
$this->assertSame('default', $deferProp->group());
}

public function test_can_invoke_and_merge(): void
Expand Down

0 comments on commit 4905907

Please sign in to comment.