Skip to content

Commit bd557b2

Browse files
committed
use better assertion to show the invalid value
1 parent ca8c7ba commit bd557b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/CurrentProcess/GenericTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@ public function testMemory()
6363
$process = Generic::of(Halt\Usleep::new());
6464

6565
$this->assertInstanceOf(Bytes::class, $process->memory());
66-
$this->assertTrue($process->memory()->toInt() > 6000000); // ~5MB
66+
$this->assertGreaterThan(6_000_000, $process->memory()->toInt()); // ~5MB
6767
}
6868
}

0 commit comments

Comments
 (0)