From a6485277ed8455ff97f3b2ec5504516ab7d5ed28 Mon Sep 17 00:00:00 2001 From: "Zeeshan Ali (Khattak)" Date: Wed, 30 Mar 2011 17:08:11 +0300 Subject: [PATCH] tests: Correct assertion in HTTPResponse testcase --- tests/rygel-http-response-test.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/rygel-http-response-test.vala b/tests/rygel-http-response-test.vala index 08cc20a..dfebc8e 100644 --- a/tests/rygel-http-response-test.vala +++ b/tests/rygel-http-response-test.vala @@ -216,7 +216,7 @@ public class Rygel.HTTPClient : GLib.Object, StateMachine { }); this.context.session.queue_message (this.msg, (session, msg) => { - assert (cancellable == null || bytes_received == this.total_bytes); + assert (cancellable != null || bytes_received == this.total_bytes); run_continue (); }); -- 2.7.4