1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-11-08 03:22:25 +03:00

Improved formatting of testResult() output.

This commit is contained in:
David Steele
2017-02-21 11:47:45 -05:00
parent 86fee3da18
commit 01312f6260
3 changed files with 7 additions and 2 deletions

View File

@@ -332,8 +332,8 @@ sub testResult
if (!waitMore($oWait))
{
confess
'expected ' . (defined($strExpected) ? "\"${strExpected}\"" : '[undef]') .
" but actual was " . (defined($strActual) ? "\"${strActual}\"" : '[undef]');
"expected:\n" . (defined($strExpected) ? "\"${strExpected}\"" : '[undef]') .
"\nbut actual was:\n" . (defined($strActual) ? "\"${strActual}\"" : '[undef]');
}
}
else