From 03e89036c7db8eb1afcdc39b4de81863b4ee41f4 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 3 Nov 2009 22:16:43 -0600 Subject: Having the test expect an object, but fail when calling the functions. --- tests/test-loader.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/test-loader.c') 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; } -- cgit v1.2.3