Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nilmerg committed Aug 28, 2023
1 parent 0307772 commit da8026f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/LessRulesetTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ public function testSetsCanBeAdjustedAfterCreation()
);
}

/**
* @expectedException ErrorException
*/
public function testAccessingAMissingPropertyThrowsIfGetPropertyIsUsed()
{
$this->expectException(ErrorException::class);
Expand All @@ -94,6 +97,9 @@ public function testAccessingAMissingPropertyThrowsIfGetPropertyIsUsed()
$set->getProperty('missing');
}

/**
* @expectedException ErrorException
*/
public function testAccessingAMissingPropertyThrowsIfOffsetAccessIsUsed()
{
$this->expectException(ErrorException::class);
Expand Down

0 comments on commit da8026f

Please sign in to comment.