projects
/
platform
/
upstream
/
polkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4aa9cd8
)
add test case for PolKitError to get to 100%
author
David Zeuthen
<davidz@redhat.com>
Thu, 8 Nov 2007 17:58:10 +0000
(12:58 -0500)
committer
David Zeuthen
<davidz@redhat.com>
Thu, 8 Nov 2007 17:58:10 +0000
(12:58 -0500)
src/polkit/polkit-error.c
patch
|
blob
|
history
diff --git
a/src/polkit/polkit-error.c
b/src/polkit/polkit-error.c
index
f87f817
..
af016ad
100644
(file)
--- a/
src/polkit/polkit-error.c
+++ b/
src/polkit/polkit-error.c
@@
-232,6
+232,8
@@
_run_test (void)
polkit_error_free (e);
}
+ g_assert (polkit_error_set_error (NULL, POLKIT_ERROR_OUT_OF_MEMORY, "This error will never get set"));
+
return TRUE;
}