diff --git a/tests/LessRulesetTest.php b/tests/LessRulesetTest.php index fe7be4ca..72c92fa8 100644 --- a/tests/LessRulesetTest.php +++ b/tests/LessRulesetTest.php @@ -86,6 +86,9 @@ public function testSetsCanBeAdjustedAfterCreation() ); } + /** + * @expectedException ErrorException + */ public function testAccessingAMissingPropertyThrowsIfGetPropertyIsUsed() { $this->expectException(ErrorException::class); @@ -94,6 +97,9 @@ public function testAccessingAMissingPropertyThrowsIfGetPropertyIsUsed() $set->getProperty('missing'); } + /** + * @expectedException ErrorException + */ public function testAccessingAMissingPropertyThrowsIfOffsetAccessIsUsed() { $this->expectException(ErrorException::class);