mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-24 05:25:18 +00:00
Get collab test suite passing (#50214)
The test suite was failing with this error: methods `is_screen_capture_supported` and `screen_capture_sources` are never used. I added allow(dead_code) attribute on both methods to fix it action that was failing: https://github.com/zed-industries/zed/actions/runs/22444029970/job/64993825469 Before you mark this PR as ready for review, make sure that you have: - [ ] Added a solid test coverage and/or screenshots from doing manual testing - [ ] Done a self-review taking into account security and performance aspects - [ ] Aligned any UI changes with the [UI checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) Release Notes: - N/A
This commit is contained in:
parent
1ad9d59dc9
commit
c767dcc6cd
1 changed files with 2 additions and 0 deletions
|
|
@ -55,10 +55,12 @@ pub(crate) trait LinuxClient {
|
|||
fn display(&self, id: DisplayId) -> Option<Rc<dyn PlatformDisplay>>;
|
||||
fn primary_display(&self) -> Option<Rc<dyn PlatformDisplay>>;
|
||||
|
||||
#[allow(dead_code)]
|
||||
fn is_screen_capture_supported(&self) -> bool {
|
||||
false
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
fn screen_capture_sources(
|
||||
&self,
|
||||
) -> oneshot::Receiver<Result<Vec<Rc<dyn gpui::ScreenCaptureSource>>>> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue