tests: Handle new assertion in gst_adapter_masked_scan_uint32

This commit is contained in:
Edward Hervey 2010-09-19 16:10:16 +02:00
parent 9dbe690f72
commit b6aa0583b6

View file

@ -688,9 +688,9 @@ GST_START_TEST (test_scan)
gst_adapter_masked_scan_uint32 (adapter, 0xff000000, 0x61000000, 0, 0x62); gst_adapter_masked_scan_uint32 (adapter, 0xff000000, 0x61000000, 0, 0x62);
fail_unless (offset == -1); fail_unless (offset == -1);
/* does not even exist */ /* does not even exist */
offset = ASSERT_CRITICAL (offset =
gst_adapter_masked_scan_uint32 (adapter, 0x00ffffff, 0xffffffff, 0x65, gst_adapter_masked_scan_uint32 (adapter, 0x00ffffff, 0xffffffff, 0x65,
99); 99));
fail_unless (offset == -1); fail_unless (offset == -1);
/* flush some bytes */ /* flush some bytes */