gstreamer: Update serde flags tests for new ObjectFlags

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1401>
This commit is contained in:
Sebastian Dröge 2024-02-26 12:47:16 +02:00 committed by GStreamer Marge Bot
parent c5111ddcc2
commit 18a02f6d34

View file

@ -188,7 +188,7 @@ mod tests {
)
);
check_serialize!(crate::MetaFlags::all(), "\"readonly+pooled+locked\"");
check_serialize!(crate::ObjectFlags::all(), "\"may-be-leaked\"");
check_serialize!(crate::ObjectFlags::all(), "\"may-be-leaked+constructed\"");
check_serialize!(
crate::PadFlags::all(),
concat!(
@ -363,7 +363,7 @@ mod tests {
check_deserialize!(
crate::ObjectFlags,
crate::ObjectFlags::all(),
"\"may-be-leaked\""
"\"may-be-leaked+constructed\""
);
check_deserialize!(
crate::PadFlags,