From 77ea4689710ddebe26879152374bf3857d62a5ed Mon Sep 17 00:00:00 2001 From: "Zeeshan Ali (Khattak)" Date: Sat, 13 Mar 2010 04:06:37 +0200 Subject: [PATCH] tests: Catch the exact error Latest valac spits a warning on this but thats OK since the warning is bogus and this is already fixed in vala git master. --- tests/rygel-http-item-uri-test.vala | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/rygel-http-item-uri-test.vala b/tests/rygel-http-item-uri-test.vala index 37c2f25..64708ae 100644 --- a/tests/rygel-http-item-uri-test.vala +++ b/tests/rygel-http-item-uri-test.vala @@ -65,9 +65,7 @@ private class Rygel.HTTPItemURITest : GLib.Object { var test = new HTTPItemURITest (); test.run (); - } catch (TestError error) { - // FIXME: We should catch the exact error but currently valac issues - // unreachable warning if we do so. + } catch (TestError.SKIP error) { return 77; } catch (Error error) { critical ("%s", error.message); -- 2.7.4