Skip to content

Commit

Permalink
Add newlines after test errors
Browse files Browse the repository at this point in the history
  • Loading branch information
waldoj committed Dec 26, 2023
1 parent 7a01b60 commit 56dc5f3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions deploy/tests/bills.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,26 @@

if ($bill['number'] != 'hb1')
{
echo 'Error: Bill number was ' . $bill['number'] . ', expected "hb1"';
echo 'Error: Bill number was ' . $bill['number'] . ', expected "hb1"' . "\n";
$error = TRUE;
}

if ($bill['catch_line'] != 'Absentee voting; no excuse required.')
{
echo 'Error: Catch line was ' . $bill['catch_line'] . ', expected "Absentee voting; no excuse required."';
echo 'Error: Catch line was ' . $bill['catch_line']
. ', expected "Absentee voting; no excuse required." . "\n"';
$error = TRUE;
}

if ($bill['chief_patron'] != 'Herring')
{
echo 'Error: Chief patron was ' . $bill['chief_patron'] . ', expected "Herring"';
echo 'Error: Chief patron was ' . $bill['chief_patron'] . ', expected "Herring"' . "\n";
$error = TRUE;
}

if ($bill['last_house_date'] != '1574035200')
{
echo 'Error: Last house date was ' . $bill['last_house_date'] . ', expected 1574035200';
echo 'Error: Last house date was ' . $bill['last_house_date'] . ', expected 1574035200' . "\n";
$error = TRUE;
}

Expand Down

0 comments on commit 56dc5f3

Please sign in to comment.