diff --git a/unit_tests/operator/Test_ExpandImpl.cpp b/unit_tests/operator/Test_ExpandImpl.cpp
index 878c608110eabb824d8a6c0d1ceb0853b3c1449d..a4c35d504de83ca0514bf3bfb3561103d62718e4 100644
--- a/unit_tests/operator/Test_ExpandImpl.cpp
+++ b/unit_tests/operator/Test_ExpandImpl.cpp
@@ -24,7 +24,7 @@ using std::shared_ptr;
 
 using namespace Aidge;
 
-void setupTestExpand(shared_ptr<Tensor> inputData,
+static void setupTestExpand(shared_ptr<Tensor> inputData,
                      shared_ptr<Tensor> inputShape,
                      shared_ptr<Expand_Op> &op) {