Skip to content

Commit 488fb53

Browse files
committed
fix: clippy
1 parent b98f1ff commit 488fb53

File tree

1 file changed

+2
-5
lines changed
  • crates/matrix-sdk/tests/integration/room/beacon

1 file changed

+2
-5
lines changed

crates/matrix-sdk/tests/integration/room/beacon/mod.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff 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");

0 commit comments

Comments
 (0)