Enfoce no dbg! and todo! in Rust code via clippy lints in the CI job

This commit is contained in:
Kirill Bulatov 2024-01-10 23:23:52 +02:00
parent 02ef6fc973
commit 7b3e7ee3cc
6 changed files with 40 additions and 32 deletions

View file

@ -104,12 +104,10 @@ async fn test_channel_guest_promotion(cx_a: &mut TestAppContext, cx_b: &mut Test
});
assert!(project_b.read_with(cx_b, |project, _| project.is_read_only()));
assert!(editor_b.update(cx_b, |e, cx| e.read_only(cx)));
assert!(dbg!(
room_b
.update(cx_b, |room, cx| room.share_microphone(cx))
.await
)
.is_err());
assert!(room_b
.update(cx_b, |room, cx| room.share_microphone(cx))
.await
.is_err());
// B is promoted
active_call_a