mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-26 11:31:06 +00:00
video: Remove nonsensical test
Printing an unknown video format returns NULL, and with latest git main this actually causes a critical warning in addition. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1430>
This commit is contained in:
parent
14df7bd20f
commit
4c36f8b5f9
1 changed files with 0 additions and 7 deletions
|
@ -480,13 +480,6 @@ mod tests {
|
|||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[should_panic(expected = "gst_video_format_to_string returned NULL")]
|
||||
fn enum_to_string_panics() {
|
||||
assert_eq!(&format!("{}", crate::VideoFormat::__Unknown(-1)), "UNKNOWN");
|
||||
assert_eq!(crate::VideoFormat::__Unknown(-1).to_str(), "UNKNOWN");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_display() {
|
||||
gst::init().unwrap();
|
||||
|
|
Loading…
Reference in a new issue