From 8f120ea3da4e46fd8dbcfda4f44582d78e5ea0d3 Mon Sep 17 00:00:00 2001 From: Siad Ardroumli Date: Tue, 14 Jan 2025 22:13:11 +0100 Subject: [PATCH] Update SwitchTaskTest.php --- tests/Phing/Test/Task/System/SwitchTaskTest.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/Phing/Test/Task/System/SwitchTaskTest.php b/tests/Phing/Test/Task/System/SwitchTaskTest.php index 700af660de..e847fd60a6 100644 --- a/tests/Phing/Test/Task/System/SwitchTaskTest.php +++ b/tests/Phing/Test/Task/System/SwitchTaskTest.php @@ -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');