[Xfce4-commits] <gigolo:master> Tests should fail if URI details won't match

Enrico Tröger noreply at xfce.org
Sun Apr 22 22:00:03 CEST 2012


Updating branch refs/heads/master
         to 3ecf7dd04e9a755fa8f1e675653e6145a07366b2 (commit)
       from bafaa0dd0e4978f51f65acafb61cd1f279b5b674 (commit)

commit 3ecf7dd04e9a755fa8f1e675653e6145a07366b2
Author: Enrico Tröger <enrico at xfce.org>
Date:   Sun Apr 22 21:49:02 2012 +0200

    Tests should fail if URI details won't match

 tests/uri_parsing.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tests/uri_parsing.c b/tests/uri_parsing.c
index e9cd493..68852dc 100644
--- a/tests/uri_parsing.c
+++ b/tests/uri_parsing.c
@@ -131,7 +131,8 @@ gint main(gint argc, gchar **argv)
 		}
 		if (! gigolo_str_equal(tests[i].output, new_uri))
 			return 1;
-		check_if_details_equal(bm, &tests[i]);
+		if (! check_if_details_equal(bm, &tests[i]))
+			return 1;
 		g_free(new_uri);
 	}
 


More information about the Xfce4-commits mailing list