Skip to content

Commit 0596c46

Browse files
committed
replace assertEmpty() with stricter assertions
1 parent 2b42be2 commit 0596c46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/ProcessTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ public function testFlushErrorOutput()
422422

423423
$p->run();
424424
$p->clearErrorOutput();
425-
$this->assertEmpty($p->getErrorOutput());
425+
$this->assertSame('', $p->getErrorOutput());
426426
}
427427

428428
/**
@@ -475,7 +475,7 @@ public function testFlushOutput()
475475

476476
$p->run();
477477
$p->clearOutput();
478-
$this->assertEmpty($p->getOutput());
478+
$this->assertSame('', $p->getOutput());
479479
}
480480

481481
public function testZeroAsOutput()

0 commit comments

Comments
 (0)