File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/Framework/Features/BuildTasks Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ abstract class BuildTask
2020 use TracksExecutionTime;
2121
2222 /** @var string The message that will be displayed when the task is run. */
23- protected static string $ message = 'Running generic build task ' ;
23+ protected static string $ message = 'Running build task ' ;
2424
2525 protected int $ exitCode = Command::SUCCESS ;
2626
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public function testItPrintsStartMessage()
6060 {
6161 $ task = tap (new BufferedTestBuildTask (), fn ($ task ) => $ task ->run ());
6262
63- $ this ->assertStringContainsString ('Running generic build task ' , $ task ->buffer [0 ]);
63+ $ this ->assertStringContainsString ('Running build task ' , $ task ->buffer [0 ]);
6464 }
6565
6666 public function testItPrintsFinishMessage ()
@@ -95,7 +95,7 @@ public function testRunMethodReturnsExitCode()
9595
9696 public function testCanGetMessage ()
9797 {
98- $ this ->assertSame ('Running generic build task ' , (new BufferedTestBuildTask ())->getMessage ());
98+ $ this ->assertSame ('Running build task ' , (new BufferedTestBuildTask ())->getMessage ());
9999 }
100100
101101 public function testCanGetCustomMessage ()
@@ -109,7 +109,7 @@ public function testCanPrintStartMessage()
109109 {
110110 $ task = tap (new BufferedTestBuildTask (), fn ($ task ) => $ task ->printStartMessage ());
111111
112- $ this ->assertSame ('<comment>Running generic build task...</comment> ' , trim ($ task ->buffer [0 ]));
112+ $ this ->assertSame ('<comment>Running build task...</comment> ' , trim ($ task ->buffer [0 ]));
113113 }
114114
115115 public function testCanPrintCustomStartMessage ()
You can’t perform that action at this time.
0 commit comments