Skip to content

Commit

Permalink
fix: newline is needed after printing the stats
Browse files Browse the repository at this point in the history
  • Loading branch information
iWas-Coder committed Jul 20, 2024
1 parent 41bba48 commit 6342d77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ai/testgen.cc
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ int main(int argc, char **argv) {
std::cout << " time_to_first_token: " << timings.time_to_first_token << std::endl;

preprocess_output(buf);
if (it_builds(buf)) std::cout << "It builds (:D)" << std::endl;
else std::cout << "It doesn't build (D:)" << std::endl;
if (it_builds(buf)) std::cout << "\nIt builds (:D)" << std::endl;
else std::cout << "\nIt doesn't build (D:)" << std::endl;

std::ofstream ofs { "tmp.cc" };
if (not ofs) throw std::runtime_error { "unable to open/create file for writing (`./tmp.cc`)" };
Expand Down

0 comments on commit 6342d77

Please sign in to comment.