Make sure to initialize GStreamer in all Structure tests

This commit is contained in:
Sebastian Dröge 2019-01-27 03:02:11 +02:00
parent b62e2f154d
commit 2b2c3bbade

View file

@ -714,6 +714,8 @@ mod tests {
#[test] #[test]
fn test_string_conversion() { fn test_string_conversion() {
::init().unwrap();
let a = "Test, f1=(string)abc, f2=(uint)123;"; let a = "Test, f1=(string)abc, f2=(uint)123;";
let s = Structure::from_string(&a).unwrap(); let s = Structure::from_string(&a).unwrap();