[glib/new-gsettings] Fix up some tests again
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/new-gsettings] Fix up some tests again
- Date: Thu, 15 Apr 2010 04:11:14 +0000 (UTC)
commit ef92c18a3aeeb290e778c4b8fa41126942428c7f
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Apr 15 00:08:53 2010 -0400
Fix up some tests again
gio/tests/gsettings.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/tests/gsettings.c b/gio/tests/gsettings.c
index 86b4d2c..6ffc834 100644
--- a/gio/tests/gsettings.c
+++ b/gio/tests/gsettings.c
@@ -45,7 +45,7 @@ test_unknown_key (void)
g_object_unref (settings);
}
g_test_trap_assert_failed ();
- g_test_trap_assert_stderr ("*CRITICAL*");
+ g_test_trap_assert_stderr ("*does not contain*");
}
void
@@ -72,7 +72,7 @@ test_wrong_type (void)
settings = g_settings_new ("org.gtk.test");
- g_settings_get (settings, "greetings", "o", &str);
+ g_settings_get (settings, "greeting", "o", &str);
}
g_test_trap_assert_failed ();
g_test_trap_assert_stderr ("*CRITICAL*");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]