[rygel] tests: Correct check for Content-Length header



commit cba6574b497f8118a7fac4e7c16b855d29f9de3b
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Sun Mar 21 02:21:50 2010 +0200

    tests: Correct check for Content-Length header

 tests/rygel-http-byte-seek-test.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/rygel-http-byte-seek-test.vala b/tests/rygel-http-byte-seek-test.vala
index 12e2c14..b7d7032 100644
--- a/tests/rygel-http-byte-seek-test.vala
+++ b/tests/rygel-http-byte-seek-test.vala
@@ -140,6 +140,6 @@ private class Rygel.HTTPByteSeekTest : GLib.Object {
         assert (header != null);
 
         assert (request.msg.response_headers.get_content_length () ==
-                request.item.size);
+                seek.stop - seek.start);
     }
 }



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