From 579085761bad630f19e3463a5510d5aae50483d3 Mon Sep 17 00:00:00 2001 From: Siad Ardroumli <siad.ardroumli@gmail.com> Date: Fri, 20 Sep 2024 02:13:49 +0200 Subject: [PATCH] Update ReplaceRegexpTaskTest.php --- tests/Phing/Test/Task/System/ReplaceRegexpTaskTest.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/Phing/Test/Task/System/ReplaceRegexpTaskTest.php b/tests/Phing/Test/Task/System/ReplaceRegexpTaskTest.php index 82eb1f75d..18da8aca0 100644 --- a/tests/Phing/Test/Task/System/ReplaceRegexpTaskTest.php +++ b/tests/Phing/Test/Task/System/ReplaceRegexpTaskTest.php @@ -59,4 +59,10 @@ public function testFailOnError(): void "Error reading file:" ); } + + public function testFlags(): void + { + $this->executeTarget(__FUNCTION__); + $this->assertStringEqualsFile('test.properties', 'NewProperty=12345'); + } }