Skip to content

Commit 5f5446c

Browse files
committed
💲
1 parent 40e986a commit 5f5446c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ctest.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ for INFILE in "${INFILES[@]}"; do
6868
EXPECTED=$(cat "$OUTFILE")
6969
if [ -n "$DIF" ]; then
7070
if [ -t 1 ]; then echo -e "${RED}Test failed.${ENDCOLOR}"
71-
echo -e "Expected:\n\t${GREEN}$EXPECTED${ENDCOLOR}"
72-
echo -e "Actual:\n\t${RED}$OUTPUT${ENDCOLOR}\n"
71+
echo -e "Expected:\n ${GREEN}${EXPECTED//$'\n'/$'\n' }${ENDCOLOR}"
72+
echo -e "Actual:\n ${RED}${OUTPUT//$'\n'/$'\n' }${ENDCOLOR}\n"
7373
else echo -e "Test failed.\nExpected:\n\t$EXPECTED"
7474
echo -e "Actual:\n\t$OUTPUT\n"; fi
7575
else

0 commit comments

Comments
 (0)