diff --git a/modules/mpi/tests/test_MPI_Send_Recv_anonymous_function.m b/modules/mpi/tests/test_MPI_Send_Recv_anonymous_function.m index bccc1941e6..597f093c01 100644 --- a/modules/mpi/tests/test_MPI_Send_Recv_anonymous_function.m +++ b/modules/mpi/tests/test_MPI_Send_Recv_anonymous_function.m @@ -25,7 +25,7 @@ for source = 1:num_ranks - 1 receive = MPI_Recv (source, TAG); assert_istrue(isa(receive, 'function_handle')); - assert_isequal(func2str(receive), '@(x)a+b+x'); + assert_isequal(func2str(receive), '@(x)(a+b)+x'); assert_isequal(receive(1), 111); end end