1
0
Эх сурвалжийг харах

test: drop a bunch of NOLINT

Michele Caini 2 жил өмнө
parent
commit
b698e53131

+ 2 - 2
test/entt/poly/poly.cpp

@@ -48,7 +48,7 @@ struct common_members {
 namespace {
 namespace {
 
 
 [[nodiscard]] int absolutely_random() {
 [[nodiscard]] int absolutely_random() {
-    return 42; // NOLINT
+    return 4;
 }
 }
 
 
 } // namespace
 } // namespace
@@ -188,7 +188,7 @@ TYPED_TEST(Poly, Functionalities) {
     ASSERT_EQ(alias.data(), &instance);
     ASSERT_EQ(alias.data(), &instance);
     ASSERT_EQ(std::as_const(alias).data(), &instance);
     ASSERT_EQ(std::as_const(alias).data(), &instance);
 
 
-    ASSERT_EQ(value->rand(), 42);
+    ASSERT_EQ(value->rand(), 4);
 
 
     empty = impl{};
     empty = impl{};