diff options
author | David Robillard <d@drobilla.net> | 2024-06-04 15:07:04 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-06-04 15:07:04 -0400 |
commit | 962ff38250da895970cd5b3d33d2470b9852505b (patch) | |
tree | 6f542c491b8b54e3e72316ba79001ac3c87d17cf /test/path_test.cpp | |
parent | 4f070bf3abbbb500c19c4397571d5049b8e008e6 (diff) | |
download | raul-962ff38250da895970cd5b3d33d2470b9852505b.tar.gz raul-962ff38250da895970cd5b3d33d2470b9852505b.tar.bz2 raul-962ff38250da895970cd5b3d33d2470b9852505b.zip |
Avoid use of std::endl
Diffstat (limited to 'test/path_test.cpp')
-rw-r--r-- | test/path_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |