mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 19:11:06 +00:00
Make sure to initialize GStreamer in all Structure tests
This commit is contained in:
parent
b62e2f154d
commit
2b2c3bbade
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue