diff --git a/test/utils b/test/utils index d153871..2332c70 100644 --- a/test/utils +++ b/test/utils @@ -150,6 +150,11 @@ _assertContains() esac fail "${msg:-${default_msg}}" + + if [ "${haystack_type}" == "file" ]; then + echo + cat "${haystack}" + fi fi }