Browse Source

test: minor changes

Michele Caini 2 years ago
parent
commit
325d3a9552
3 changed files with 5 additions and 0 deletions
  1. 1 0
      test/entt/resource/resource.cpp
  2. 2 0
      test/entt/signal/emitter.cpp
  3. 2 0
      test/entt/signal/sigh.cpp

+ 1 - 0
test/entt/resource/resource.cpp

@@ -86,6 +86,7 @@ TEST(Resource, ConstNonConstAndAllInBetween) {
 
     entt::resource<const derived> copy{resource};
     entt::resource<const derived> move{std::move(other)};
+
     test::is_initialized(other);
 
     ASSERT_TRUE(resource);

+ 2 - 0
test/entt/signal/emitter.cpp

@@ -24,6 +24,7 @@ TEST(Emitter, Move) {
     ASSERT_TRUE(emitter.contains<foo_event>());
 
     test_emitter other{std::move(emitter)};
+
     test::is_initialized(emitter);
 
     ASSERT_FALSE(other.empty());
@@ -168,6 +169,7 @@ TEST(Emitter, CustomAllocator) {
 
     emitter.on<foo_event>([](auto &, const auto &) {});
     const decltype(emitter) other{std::move(emitter), allocator};
+
     test::is_initialized(emitter);
 
     ASSERT_TRUE(emitter.empty());

+ 2 - 0
test/entt/signal/sigh.cpp

@@ -305,6 +305,7 @@ TEST(SigH, ScopedConnectionMove) {
 
     {
         const entt::scoped_connection inner{std::move(outer)};
+
         test::is_initialized(outer);
 
         ASSERT_FALSE(listener.val);
@@ -484,6 +485,7 @@ TEST(SigH, CustomAllocator) {
     ASSERT_FALSE(copy.empty());
 
     decltype(sigh) move{std::move(copy), allocator};
+
     test::is_initialized(copy);
 
     ASSERT_TRUE(copy.empty());