Update `tests` in `copilot.rs` to match the new `load` method signature

R Aadarsh created

Change summary

crates/copilot/src/copilot.rs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Detailed changes

crates/copilot/src/copilot.rs 🔗

@@ -1241,6 +1241,7 @@ async fn get_copilot_lsp(fs: Arc<dyn Fs>, node_runtime: NodeRuntime) -> anyhow::
 #[cfg(test)]
 mod tests {
     use super::*;
+    use fs::encodings::EncodingWrapper;
     use gpui::TestAppContext;
     use util::{path, paths::PathStyle, rel_path::rel_path};
 
@@ -1451,7 +1452,7 @@ mod tests {
             self.abs_path.clone()
         }
 
-        fn load(&self, _: &App) -> Task<Result<String>> {
+        fn load(&self, _: &App, _: EncodingWrapper, _: bool) -> Task<Result<String>> {
             unimplemented!()
         }