Skip to content

Commit 5ea2442

Browse files
committed
v1.1.1
1 parent ff0d2ab commit 5ea2442

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/ProcessesTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,13 @@ public function testProcessesOnUnix(?bool $all, ?bool $multi): void
3333
$this->assertGreaterThan(0, $this->pid);
3434

3535
$processes = new Processes($all, $multi);
36+
$asArray = Processes::asArray($all, $multi);
3637

37-
$this->assertEquals($processes->get(), Processes::asArray($all, $multi));
3838
$this->assertEquals($processes->get(), $processes->toArray());
3939

4040
$this->assertFalse($processes->exists());
4141
$this->assertTrue($processes->exists($this->pid));
42+
$this->assertArrayHasKey($this->pid, $asArray);
4243

4344
$processInformation = $processes[$this->pid];
4445

0 commit comments

Comments
 (0)