File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
crates/matrix-sdk/tests/integration/room/beacon Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -258,10 +258,7 @@ async fn test_most_recent_event_in_stream() {
258258
259259 assert_eq ! ( user_id. to_string( ) , "@example:localhost" ) ;
260260
261- assert_eq ! (
262- last_location. location. uri,
263- "geo:24.9575274619722,12.494122581370175;u=24" . to_string( )
264- ) ;
261+ assert_eq ! ( last_location. location. uri, "geo:24.9575274619722,12.494122581370175;u=24" ) ;
265262
266263 assert ! ( last_location. location. description. is_none( ) ) ;
267264 assert ! ( last_location. location. zoom_level. is_none( ) ) ;
@@ -368,7 +365,7 @@ async fn test_observe_single_live_location_share() {
368365 stream. next ( ) . await . expect ( "Expected a live location" ) ;
369366
370367 assert_eq ! ( user_id. to_string( ) , "@example:localhost" ) ;
371- assert_eq ! ( last_location. location. uri, "geo:10.000000,20.000000;u=5" . to_string ( ) ) ;
368+ assert_eq ! ( last_location. location. uri, "geo:10.000000,20.000000;u=5" ) ;
372369 assert_eq ! ( last_location. ts, current_time) ;
373370
374371 let beacon_info = beacon_info. expect ( "Beacon info was expected" ) ;
You can’t perform that action at this time.
0 commit comments