mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 11:01:10 +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/1432>
This commit is contained in:
parent
57050f66c6
commit
5c8a989029
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]
|
#[test]
|
||||||
fn test_display() {
|
fn test_display() {
|
||||||
gst::init().unwrap();
|
gst::init().unwrap();
|
||||||
|
|
Loading…
Reference in a new issue