summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2012-12-06 14:53:06 +0100
committerMurray Cumming <murrayc@murrayc.com>2012-12-06 14:53:06 +0100
commit22c826e56c1d2fe82235bc0d9071799e644a3213 (patch)
tree909a1e4ba6fd9cc9bb74eb1f31f0c9834deafeb7 /tests
parent193ca60688a8f47e93a2f76f28d9d20a7132e3a2 (diff)
downloadrygel-22c826e56c1d2fe82235bc0d9071799e644a3213.tar.gz
tests: Catch another exception
Diffstat (limited to 'tests')
-rw-r--r--tests/rygel-http-response-test.vala7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/rygel-http-response-test.vala b/tests/rygel-http-response-test.vala
index c87fc2c6..b2bed077 100644
--- a/tests/rygel-http-response-test.vala
+++ b/tests/rygel-http-response-test.vala
@@ -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 () {