Skip to content

Commit

Permalink
Add newlines after test failure messages
Browse files Browse the repository at this point in the history
  • Loading branch information
waldoj committed Dec 26, 2023
1 parent 0678f2f commit 3b8a05d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/tests/legislators.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@
if (!isset($legislator[$key]) || $legislator[$key] != $value)
{
echo 'Failure: For ' . pivot($legislator) .' expected a ' . $key . ' of value “'
. $value . ',” but instead the value was “' . legislator[$key] . '';
. $value . ',” but instead the value was “' . legislator[$key] . '' . "\n";
$error = TRUE;
}
}

if ( $import->fetch_photo($legislator['photo_url'], $legislator['shortname'] == false) )
{
echo 'Failure: Photo ' . $legislator['photo_url'] .' couldn’t be fetched';
echo 'Failure: Photo ' . $legislator['photo_url'] .' couldn’t be fetched' . "\n";
$error = TRUE;
}

Expand Down

0 comments on commit 3b8a05d

Please sign in to comment.