tests: Catch another exception
authorMurray Cumming <murrayc@murrayc.com>
Thu, 6 Dec 2012 13:53:06 +0000 (14:53 +0100)
committerMurray Cumming <murrayc@murrayc.com>
Thu, 6 Dec 2012 13:53:06 +0000 (14:53 +0100)
tests/rygel-http-response-test.vala

index c87fc2c..b2bed07 100644 (file)
@@ -377,7 +377,12 @@ internal class Rygel.TestDataSource : Rygel.DataSource, Object {
         }
 
         this.frozen = false;
-        this.start (null);
+
+        try {
+            this.start (null);
+        } catch (GLib.Error error) {
+            assert_not_reached ();
+        }
     }
 
     public void stop () {