summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStefan Walter <stefw@src.gnome.org>2007-10-04 13:58:36 +0000
committerStefan Walter <stefw@src.gnome.org>2007-10-04 13:58:36 +0000
commit7e990a893d3094e0099b4047e68509722c0f32fc (patch)
treeec535d47f3a62c7b128db547abb1704686cf4c78 /tests
parent7f88e341e200f8ebe02c30053b6cda6c399d7aff (diff)
downloadgnome-keyring-7e990a893d3094e0099b4047e68509722c0f32fc.tar.gz
svn path=/trunk/; revision=844
svn path=/trunk/; revision=844
Diffstat (limited to 'tests')
-rw-r--r--tests/unit-test-cleanup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit-test-cleanup.c b/tests/unit-test-cleanup.c
index b24753e5..904d0184 100644
--- a/tests/unit-test-cleanup.c
+++ b/tests/unit-test-cleanup.c
@@ -53,7 +53,8 @@ static void
cleanup_callback (gpointer user_data)
{
CleanupParam *param = (CleanupParam*)user_data;
- CuAssert (param->cu, "invalid user_data passed to callback", param->value == DATA);
+ CuAssert (param->cu, "invalid user_data passed to callback",
+ param->value && strcmp(param->value, DATA) == 0);
param->value = NULL;
}