File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -14,15 +14,15 @@ public function test_pool(): void
1414 {
1515 $ executor = new GenericProcessExecutor ();
1616 $ pool = $ executor ->pool ([
17- 'echo " hello" ' ,
18- 'echo " world" ' ,
17+ 'echo hello ' ,
18+ 'echo world ' ,
1919 ]);
2020
2121 $ this ->assertInstanceOf (Pool::class, $ pool );
2222 $ this ->assertCount (2 , $ pool ->processes ());
2323
2424 // quick immutability check
25- $ pool ->processes ()->add (new PendingProcess ('echo " foo" ' ));
25+ $ pool ->processes ()->add (new PendingProcess ('echo foo ' ));
2626 $ this ->assertCount (2 , $ pool ->processes ());
2727
2828 $ invoked = $ pool ->start ();
@@ -42,8 +42,8 @@ public function test_concurrently(): void
4242 {
4343 $ executor = new GenericProcessExecutor ();
4444 $ results = $ executor ->concurrently ([
45- 'echo " hello" ' ,
46- 'echo " world" ' ,
45+ 'echo hello ' ,
46+ 'echo world ' ,
4747 ]);
4848
4949 $ this ->assertCount (2 , $ results );
@@ -55,8 +55,8 @@ public function test_concurrently_deconstruct(): void
5555 {
5656 $ executor = new GenericProcessExecutor ();
5757 [$ hello , $ world ] = $ executor ->concurrently ([
58- 'echo " hello" ' ,
59- 'echo " world" ' ,
58+ 'echo hello ' ,
59+ 'echo world ' ,
6060 ]);
6161
6262 $ this ->assertStringEqualsStringIgnoringLineEndings ("hello \n" , $ hello ->output );
You can’t perform that action at this time.
0 commit comments