diff --git a/modules/ocl/test/test_moments.cpp b/modules/ocl/test/test_moments.cpp index 6a9a06f1fb..715ad8963a 100644 --- a/modules/ocl/test/test_moments.cpp +++ b/modules/ocl/test/test_moments.cpp @@ -30,7 +30,7 @@ PARAM_TEST_CASE(MomentsTestBase, MatType, bool) Mat gpu_dst, cpu_dst; HuMoments(cpu, cpu_dst); HuMoments(gpu, gpu_dst); - EXPECT_MAT_NEAR(gpu_dst,cpu_dst, .5, NULL); + EXPECT_MAT_NEAR(gpu_dst,cpu_dst, .5, ""); } };