Skip to content

Commit

Permalink
Update SwitchTaskTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
siad007 authored Jan 14, 2025
1 parent 27db7f5 commit 8f120ea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/Phing/Test/Task/System/SwitchTaskTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ public function testSwitchCase(): void
$this->expectLogContaining(__FUNCTION__, 'The value of property foo is bar');
}

public function testSwitchCaseNumbers(): void
{
$this->expectLogContaining(__FUNCTION__, 'The value of property foo is 1');
}

public function testSwitchDefault(): void
{
$this->expectLogContaining(__FUNCTION__, 'The value of property bar is not sensible');
Expand Down

0 comments on commit 8f120ea

Please sign in to comment.