diff --git a/Tests/DocTest/DocTest.cxx b/Tests/DocTest/DocTest.cxx index a91a5b8382..2263cbd731 100644 --- a/Tests/DocTest/DocTest.cxx +++ b/Tests/DocTest/DocTest.cxx @@ -23,7 +23,7 @@ int main () std::string line = buffer; if(line.size() && line.find("with scope VARIABLE") == std::string::npos) { - fprintf(stderr,line.c_str()); + fprintf(stderr, "%s\n", line.c_str()); result = 1; } }