diff options
Diffstat (limited to 'net/reqwest/tests/reqwesthttpsrc.rs')
-rw-r--r-- | net/reqwest/tests/reqwesthttpsrc.rs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/net/reqwest/tests/reqwesthttpsrc.rs b/net/reqwest/tests/reqwesthttpsrc.rs index 2705f7d7d..a107ff5f4 100644 --- a/net/reqwest/tests/reqwesthttpsrc.rs +++ b/net/reqwest/tests/reqwesthttpsrc.rs @@ -655,14 +655,11 @@ fn test_iradio_mode() { let tag_event = srcpad.sticky_event(gst::EventType::Tag, 0).unwrap(); if let EventView::Tag(tags) = tag_event.view() { let tags = tags.tag(); - assert_eq!( - tags.get::<gst::tags::Organization>().unwrap().get(), - Some("Name") - ); - assert_eq!(tags.get::<gst::tags::Genre>().unwrap().get(), Some("Genre")); + assert_eq!(tags.get::<gst::tags::Organization>().unwrap().get(), "Name"); + assert_eq!(tags.get::<gst::tags::Genre>().unwrap().get(), "Genre"); assert_eq!( tags.get::<gst::tags::Location>().unwrap().get(), - Some("http://www.example.com"), + "http://www.example.com", ); } else { unreachable!(); |