From a4e93703fbfdb6865131daa1c8b90fc5c36ab25e Mon Sep 17 00:00:00 2001 From: Jae-Heon Ji Date: Mon, 31 Jul 2023 22:12:26 +0900 Subject: [PATCH] apply formatting --- zellij-server/src/plugins/unit/plugin_tests.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/zellij-server/src/plugins/unit/plugin_tests.rs b/zellij-server/src/plugins/unit/plugin_tests.rs index 0f3eef75db..ff9c59788f 100644 --- a/zellij-server/src/plugins/unit/plugin_tests.rs +++ b/zellij-server/src/plugins/unit/plugin_tests.rs @@ -4291,8 +4291,7 @@ pub fn request_plugin_permissions() { pub fn granted_permission_request_result() { let temp_folder = tempdir().unwrap(); let plugin_host_folder = PathBuf::from(temp_folder.path()); - let (plugin_thread_sender, _, mut teardown) = - create_plugin_thread(Some(plugin_host_folder)); + let (plugin_thread_sender, _, mut teardown) = create_plugin_thread(Some(plugin_host_folder)); let plugin_should_float = Some(false); let plugin_title = Some("test_plugin".to_owned()); let run_plugin = RunPlugin { @@ -4337,8 +4336,7 @@ pub fn granted_permission_request_result() { pub fn denied_permission_request_result() { let temp_folder = tempdir().unwrap(); let plugin_host_folder = PathBuf::from(temp_folder.path()); - let (plugin_thread_sender, _, mut teardown) = - create_plugin_thread(Some(plugin_host_folder)); + let (plugin_thread_sender, _, mut teardown) = create_plugin_thread(Some(plugin_host_folder)); let plugin_should_float = Some(false); let plugin_title = Some("test_plugin".to_owned()); let run_plugin = RunPlugin { @@ -4376,4 +4374,4 @@ pub fn denied_permission_request_result() { let permissions = granted_permission.get(&run_plugin.location.to_string()); assert_snapshot!(format!("{:#?}", permissions)); -} \ No newline at end of file +}