[libdmapsharing/LIBDMAPSHARING_3_0] Avoid ck_assert_ptr_null(); CI hosts have old version of check
- From: W. Michael Petullo <wmpetullo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdmapsharing/LIBDMAPSHARING_3_0] Avoid ck_assert_ptr_null(); CI hosts have old version of check
- Date: Wed, 1 Jul 2020 01:16:31 +0000 (UTC)
commit 9357d22bb6ea0a9833ff3990ce42cc0a9d374533
Author: W. Michael Petullo <mike flyn org>
Date: Tue Jun 30 20:16:13 2020 -0500
Avoid ck_assert_ptr_null(); CI hosts have old version of check
libdmapsharing/dmap-utils.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libdmapsharing/dmap-utils.c b/libdmapsharing/dmap-utils.c
index 35fca9a..2400058 100644
--- a/libdmapsharing/dmap-utils.c
+++ b/libdmapsharing/dmap-utils.c
@@ -71,13 +71,13 @@ END_TEST
START_TEST(dmap_utils_mime_to_format_test_null)
{
- ck_assert_ptr_null(dmap_utils_mime_to_format(NULL));
+ ck_assert_ptr_eq(dmap_utils_mime_to_format(NULL), NULL);
}
END_TEST
START_TEST(dmap_utils_mime_to_format_test_bad)
{
- ck_assert_ptr_null(dmap_utils_mime_to_format("bad/mime"));
+ ck_assert_ptr_eq(dmap_utils_mime_to_format("bad/mime"), NULL);
}
END_TEST
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]