[farsight2/master] Add descritive messages to non-existant transmiter test

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:19:31 PST 2008


---
 tests/check/base/fstransmitter.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/tests/check/base/fstransmitter.c b/tests/check/base/fstransmitter.c
index db1a145..8c40d0e 100644
--- a/tests/check/base/fstransmitter.c
+++ b/tests/check/base/fstransmitter.c
@@ -37,9 +37,8 @@ GST_START_TEST (test_fstransmitter_new_fail)
 
   fail_if (transmitter);
 
-  fail_unless (error);
-
-  fail_unless (error->domain == FS_ERROR);
+  fail_unless (error != NULL, "Error is NULL");
+  fail_unless (error->domain == FS_ERROR, "Error domain is wrong");
 }
 GST_END_TEST;
 
-- 
1.5.6.5




More information about the farsight-commits mailing list