projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7ce195
)
settings-source test: Check returned error as well
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 17 Nov 2011 03:25:16 +0000
(22:25 -0500)
committer
Ryan Lortie
<desrt@desrt.ca>
Thu, 17 Nov 2011 14:03:39 +0000
(14:03 +0000)
gio/tests/gsettings.c
patch
|
blob
|
history
diff --git
a/gio/tests/gsettings.c
b/gio/tests/gsettings.c
index
bb21bcd
..
645d487
100644
(file)
--- a/
gio/tests/gsettings.c
+++ b/
gio/tests/gsettings.c
@@
-1905,6
+1905,7
@@
test_schema_source (void)
parent = g_settings_schema_source_get_default ();
source = g_settings_schema_source_new_from_directory ("/path/that/does/not/exist", parent, TRUE, &error);
g_assert (source == NULL);
+ g_assert_error (error, G_FILE_ERROR, G_FILE_ERROR_NOENT);
g_clear_error (&error);
/* create a source with the parent */