From 3eadda9466420711e52e64235fb2318c6768d0b2 Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 5 Oct 2018 15:21:05 +0300 Subject: [PATCH] code formating --- tests/utils.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/utils.cpp b/tests/utils.cpp index 729ab689..6bb15872 100644 --- a/tests/utils.cpp +++ b/tests/utils.cpp @@ -8,12 +8,12 @@ void prepare_logdir() system("del /F /Q logs\\*"); #else auto rv = system("mkdir -p logs"); - if(rv != 0) + if (rv != 0) { throw std::runtime_error("Failed to mkdir -p logs"); } rv = system("rm -f logs/*"); - if(rv != 0) + if (rv != 0) { throw std::runtime_error("Failed to rm -f logs/*"); } @@ -64,5 +64,4 @@ bool ends_with(std::string const &value, std::string const &ending) return false; } return std::equal(ending.rbegin(), ending.rend(), value.rbegin()); - }