aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test-loader.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test-loader.c b/tests/test-loader.c
index 141ad78..263e54f 100644
--- a/tests/test-loader.c
+++ b/tests/test-loader.c
@@ -43,7 +43,9 @@ void
test_loader_filename_dummy_null (void)
{
IndicatorObject * object = indicator_object_new_from_file(BUILD_DIR "/.libs/libdummy-indicator-null.so");
- g_assert(object == NULL);
+ g_assert(object != NULL);
+ g_assert(indicator_object_get_entries(object) == NULL);
+ g_object_unref(G_OBJECT(object));
return;
}