From 2b2c3bbade09fc5285f2268456dcdadd7307f82d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 27 Jan 2019 03:02:11 +0200 Subject: [PATCH] Make sure to initialize GStreamer in all Structure tests --- gstreamer/src/structure.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gstreamer/src/structure.rs b/gstreamer/src/structure.rs index 032bfcda9..48c5d87b0 100644 --- a/gstreamer/src/structure.rs +++ b/gstreamer/src/structure.rs @@ -714,6 +714,8 @@ mod tests { #[test] fn test_string_conversion() { + ::init().unwrap(); + let a = "Test, f1=(string)abc, f2=(uint)123;"; let s = Structure::from_string(&a).unwrap();