[gnome-keyring/dbus-api] [egg] Fix unit test.
- From: Stefan Walter <stefw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-keyring/dbus-api] [egg] Fix unit test.
- Date: Fri, 14 Aug 2009 22:50:42 +0000 (UTC)
commit cbd6ed86f6f3b332a5819b5a9a035b40cd35a2d7
Author: Stef Walter <stef memberwebs com>
Date: Fri Aug 14 22:37:05 2009 +0000
[egg] Fix unit test.
egg/tests/unit-test-secmem.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/egg/tests/unit-test-secmem.c b/egg/tests/unit-test-secmem.c
index f320900..ffa9b0b 100644
--- a/egg/tests/unit-test-secmem.c
+++ b/egg/tests/unit-test-secmem.c
@@ -227,7 +227,7 @@ DEFINE_TEST(secmem_strclear)
str = egg_secure_strdup ("secret");
g_assert (str != NULL);
g_assert_cmpuint (strlen (str), ==, 6);
- g_assert (strchr (str, 't') == str + 6);
+ g_assert (strchr (str, 't') == str + 5);
egg_secure_strclear (str);
g_assert_cmpuint (strlen (str), ==, 6);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]