From df244744a529ae17dbf93742cff7e31a2a7d50e3 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sun, 2 Jul 2006 12:57:19 +0000 Subject: [PATCH] unbreak test Original commit message from CVS: unbreak test --- tests/check/gst/gstcaps.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/check/gst/gstcaps.c b/tests/check/gst/gstcaps.c index fa33d4bff9..20e4b2408f 100644 --- a/tests/check/gst/gstcaps.c +++ b/tests/check/gst/gstcaps.c @@ -198,16 +198,12 @@ GST_START_TEST (test_simplify) { GstStructure *s1, *s2; gboolean did_simplify; - GstCaps *caps, *simplecaps; + GstCaps *caps; caps = gst_caps_from_string (non_simple_caps_string); fail_unless (caps != NULL, "gst_caps_from_string (non_simple_caps_string) failed"); - /* first get a new copy of simplified caps */ - simplecaps = gst_caps_simplify (caps); - fail_unless (simplecaps != NULL, "simplifying caps failed"); - did_simplify = gst_caps_do_simplify (caps); fail_unless (did_simplify == TRUE, "gst_caps_do_simplify() should have worked");