From a89372aa2f828de4796f77fa62fcd3573f3423fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com>
Date: Thu, 26 Aug 2021 18:01:40 +0200
Subject: [PATCH] STY: ws

---
 test/caosdb_test_utility.h | 22 ++++++++++++----------
 test/test_transaction.cpp  |  6 ++----
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/test/caosdb_test_utility.h b/test/caosdb_test_utility.h
index cd1b47c..4cde3dc 100644
--- a/test/caosdb_test_utility.h
+++ b/test/caosdb_test_utility.h
@@ -32,15 +32,17 @@
  * @date 2021-07-07
  */
 #define EXPECT_THROW_MESSAGE(statement, exeption_type, message)                \
-  EXPECT_THROW(try { statement; } catch (const exeption_type &e) {             \
-    EXPECT_EQ(std::string(e.what()), message);                                 \
-    throw;                                                                     \
-  },                                                                           \
-               exeption_type)
+  EXPECT_THROW(                                                                \
+      try { statement; } catch (const exeption_type &e) {                      \
+        EXPECT_EQ(std::string(e.what()), message);                             \
+        throw;                                                                 \
+      },                                                                       \
+      exeption_type)
 #define ASSERT_THROW_MESSAGE(statement, exeption_type, message)                \
-  ASSERT_THROW(try { statement; } catch (const exeption_type &e) {             \
-    ASSERT_EQ(std::string(e.what()), message);                                 \
-    throw;                                                                     \
-  },                                                                           \
-               exeption_type)
+  ASSERT_THROW(                                                                \
+      try { statement; } catch (const exeption_type &e) {                      \
+        ASSERT_EQ(std::string(e.what()), message);                             \
+        throw;                                                                 \
+      },                                                                       \
+      exeption_type)
 #endif
diff --git a/test/test_transaction.cpp b/test/test_transaction.cpp
index 844c829..64b6d8a 100644
--- a/test/test_transaction.cpp
+++ b/test/test_transaction.cpp
@@ -695,8 +695,7 @@ auto test_numeric_values_impl(AtomicDataType a_type) -> void {
     auto insert_transaction(connection->CreateTransaction());
     Entity prop;
     prop.SetRole(Role::PROPERTY);
-    const auto name =
-        std::string("Prop ") + std::to_string(i);
+    const auto name = std::string("Prop ") + std::to_string(i);
     std::cout << "Creating: " << name << std::endl;
     prop.SetName(name);
     prop.SetDataType(a_type);
@@ -717,8 +716,7 @@ auto test_numeric_values_impl(AtomicDataType a_type) -> void {
   for (const auto value : values_orig) {
     auto retrieve_transaction(connection->CreateTransaction());
     const auto prop = props_orig[i];
-    const auto name =
-        std::string("Prop ") + std::to_string(i);
+    const auto name = std::string("Prop ") + std::to_string(i);
     std::cout << "Retrieving: " << name << std::endl;
     const auto query = std::string("FIND ENTITY \"") + name + "\"";
     retrieve_transaction->Query(query);
-- 
GitLab