From 962ff38250da895970cd5b3d33d2470b9852505b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 4 Jun 2024 15:07:04 -0400 Subject: Avoid use of std::endl --- test/path_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/path_test.cpp') diff --git a/test/path_test.cpp b/test/path_test.cpp index 9992cbb..681cebe 100644 --- a/test/path_test.cpp +++ b/test/path_test.cpp @@ -69,7 +69,7 @@ main() try { const Path path{"/ends/in/slash/"}; } catch (const Path::BadPath& e) { - std::cerr << "Caught exception: " << e.what() << std::endl; + std::cerr << "Caught exception: " << e.what() << "\n"; valid = false; } assert(!valid); @@ -78,7 +78,7 @@ main() try { const Path path{std::string("/has//double/slash")}; } catch (const Path::BadPath& e) { - std::cerr << "Caught exception: " << e.what() << std::endl; + std::cerr << "Caught exception: " << e.what() << "\n"; valid = false; } assert(!valid); -- cgit v1.2.1