mirror of
https://github.com/zellij-org/zellij.git
synced 2026-10-12 02:27:24 +00:00
apply formatting
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user