diff --git a/include/caosdb/entity.h b/include/caosdb/entity.h
index 32722a843e0724e768d4e05d531206052e7a12de..52a69e05083670a302a71b883993ae28122e7655 100644
--- a/include/caosdb/entity.h
+++ b/include/caosdb/entity.h
@@ -707,7 +707,7 @@ public:
                                                : static_cast<ProtoDataType *>(nullptr)) {
     properties.wrapped = this->wrapped->mutable_properties();
     parents.wrapped = this->wrapped->mutable_parents();
-    if(this->wrapped->has_file_descriptor()) {
+    if (this->wrapped->has_file_descriptor()) {
       file_descriptor.wrapped = this->wrapped->mutable_file_descriptor();
     }
   };
diff --git a/test/test_data_type.cpp b/test/test_data_type.cpp
index 02861d3baabbab2aee6fead973245029379db662..6b7b8b6ea3d36135164d73c90e8f45693a49b1cc 100644
--- a/test/test_data_type.cpp
+++ b/test/test_data_type.cpp
@@ -20,17 +20,17 @@
  *
  */
 
-#include "caosdb/data_type.h"                          // for DataType, AtomicDataType
-#include "caosdb/entity.h"                             // for Entity
-#include "caosdb/entity/v1/main.pb.h"                  // for DataType, Ato...
-#include "caosdb/logging.h"                            // for CAOSDB_LOG_DEBUG
-#include "caosdb/protobuf_helper.h"                    // for CAOSDB_DEBUG_...
-#include <gtest/gtest-message.h>                       // for Message
-#include <gtest/gtest-test-part.h>                     // for TestPartResult, SuiteApi...
-#include <gtest/gtest_pred_impl.h>                     // for AssertionResult, Test
-#include <map>                                         // for map, operator!=
-#include <string>                                      // for allocator
-#include <utility>                                     // for pair
+#include "caosdb/data_type.h"         // for DataType, AtomicDataType
+#include "caosdb/entity.h"            // for Entity
+#include "caosdb/entity/v1/main.pb.h" // for DataType, Ato...
+#include "caosdb/logging.h"           // for CAOSDB_LOG_DEBUG
+#include "caosdb/protobuf_helper.h"   // for CAOSDB_DEBUG_...
+#include <gtest/gtest-message.h>      // for Message
+#include <gtest/gtest-test-part.h>    // for TestPartResult, SuiteApi...
+#include <gtest/gtest_pred_impl.h>    // for AssertionResult, Test
+#include <map>                        // for map, operator!=
+#include <string>                     // for allocator
+#include <utility>                    // for pair
 
 namespace caosdb::entity {
 using ProtoEntity = caosdb::entity::v1::Entity;