stefan pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=09d89a059c723b5717798f100ddfb8708792c93a
commit 09d89a059c723b5717798f100ddfb8708792c93a Author: Stefan Schmidt <s.schm...@samsung.com> Date: Tue Jun 9 15:21:28 2020 +0200 tests: eina: make sure we always check on eina_matrixsparse_data_idx_get return It has been checked in all other places, but has been forgotten in these two. CID: 1401081 Reviewed-by: Christopher Michael <devilho...@comcast.net> Differential Revision: https://phab.enlightenment.org/D11960 --- src/tests/eina/eina_test_matrixsparse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tests/eina/eina_test_matrixsparse.c b/src/tests/eina/eina_test_matrixsparse.c index 5c8b548508..d2ad4c602f 100644 --- a/src/tests/eina/eina_test_matrixsparse.c +++ b/src/tests/eina/eina_test_matrixsparse.c @@ -145,9 +145,11 @@ EFL_START_TEST(eina_test_simple) fail_if(row != 3 || col != 5); test1 = eina_matrixsparse_data_idx_get(matrix, 4, 3); + fail_if(test1 == NULL); fail_if(*test1 != data[4][3]); test1 = eina_matrixsparse_data_idx_get(matrix, 1, 3); + fail_if(test1 == NULL); fail_if(*test1 != data[1][3]); /* data changing */ --