summaryrefslogtreecommitdiffstats
path: root/test/path_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/path_test.cpp')
-rw-r--r--test/path_test.cpp4
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);