context CHANGE simplify the code of ly_ctx_set_searchdir()
diff --git a/tests/src/context.c b/tests/src/context.c
index 11903ea..210f15a 100644
--- a/tests/src/context.c
+++ b/tests/src/context.c
@@ -103,6 +103,9 @@
     will_return(__wrap_ly_set_add, 1);
     assert_int_equal(LY_EMEM, ly_ctx_set_searchdir(ctx, TESTS_BIN"/src"));
 
+    /* no change */
+    assert_int_equal(LY_SUCCESS, ly_ctx_set_searchdir(ctx, NULL));
+
     /* correct path */
     will_return_always(__wrap_ly_set_add, 0);
     assert_int_equal(LY_SUCCESS, ly_ctx_set_searchdir(ctx, TESTS_BIN"/src"));