gstreamer: Update serde flags tests for new ObjectFlags

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1402>
This commit is contained in:
Sebastian Dröge 2024-02-26 12:47:16 +02:00
parent 955d91cf05
commit 79088dc6dd

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,