Open ddziaduch opened 9 years ago
Calling the ob_clean() function immediately after performing tasks that involve the output buffer may be a solution.
Otherwise this may serve as a workaround: How to flush output after each echo
call? .
I don't know if there is a way to fix this without refactoring the code, but I think it is due to the fact that Specify lives as a trait and that assertions are made within anonymous functions that this cannot be easily controlled without calling the Output Control Functions explicitly.
@TavoNiievez wow, this is quiet old issue 😆
Hi.
I've a test:
The first specification passes. Second specification is failing. It expect output to be "lorem ipsum 2", but gots "lorem ipsum 1lorem ipsum 2".