Skip to content

Commit

Permalink
do in one big string
Browse files Browse the repository at this point in the history
  • Loading branch information
GlazerMann authored Jan 31, 2024
1 parent 7cc50e7 commit dabf848
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions tests/phpunit/expandFnsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -404,21 +404,19 @@ public function testHostIsGoneDOI() : void {
foreach (NULL_DOI_ANNOYING as $doi) {
$this->assertTrue(in_array($doi, NULL_DOI_LIST));
}
$echo_me = "";
if ($changed) {
$this->flush();
echo "\n\n" . $should . "\n\n";
$this->flush();
$echo_me = $echo_me . "\n\n" . $should . "\n\n";
}
if ($nulls !== "") {
$this->flush();
echo "\n\n" . $nulls . "\n\n";
$this->flush();
$echo_me = $echo_me . "\n\n" . $nulls . "\n\n";
}
if ($both !== "") {
$this->flush();
echo "\n\n" . $both . "\n\n";
$this->flush();
$echo_me = $echo_me . "\n\n" . $both . "\n\n";
}
$this->flush();
echo $echo_me; // do in one big string
$this->flush();
$this->assertSame("", $nulls);
$this->assertSame("", $both);
$this->assertFalse($changed);
Expand Down

0 comments on commit dabf848

Please sign in to comment.