[rygel] tests: Correct assertion in HTTPResponse testcase



commit a6485277ed8455ff97f3b2ec5504516ab7d5ed28
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Mar 30 17:08:11 2011 +0300

    tests: Correct assertion in HTTPResponse testcase

 tests/rygel-http-response-test.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
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 ();
         });



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]